web-redirect: init new service for simple domain redirects
This commit is contained in:
parent
addbf7ac3e
commit
55000c365a
4 changed files with 42 additions and 19 deletions
|
@ -61,15 +61,10 @@
|
|||
enable = true;
|
||||
domain = "actual.unspecified.systems";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
fountain.services.web-redirect = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"actual.qenya.tel" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".return = "301 https://actual.unspecified.systems$request_uri";
|
||||
};
|
||||
domains = {
|
||||
"actual.qenya.tel" = "actual.unspecified.systems";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue