nightline & ewsp: add www. subdomain
This commit is contained in:
parent
9dd71f8b8c
commit
3b48a937c8
|
@ -36,6 +36,9 @@ in
|
|||
|
||||
services.nginx.enable = true;
|
||||
services.nginx = {
|
||||
virtualHosts."www.${domain}" = {
|
||||
locations."/".return = "301 $scheme://${domain}$request_uri";
|
||||
};
|
||||
virtualHosts."${domain}" = {
|
||||
root = "/srv/web/fsrewsp";
|
||||
extraConfig = ''
|
||||
|
|
|
@ -33,6 +33,9 @@ in
|
|||
};
|
||||
|
||||
services.nginx = {
|
||||
virtualHosts."www.${domain}" = {
|
||||
locations."/".return = "301 $scheme://${domain}$request_uri";
|
||||
};
|
||||
virtualHosts."${domain}" = {
|
||||
root = "/srv/web/nightline";
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Reference in a new issue