Redirect www.jichan.org to jichan.org, use forceSSL for tegakituesday.com

inky
Elnu 1 year ago
parent c2a6deebf9
commit b416d555d2

@ -1,5 +1,10 @@
{ let host = "jichan.org"; in {
services.nginx.virtualHosts."jichan.org" = { services.nginx.virtualHosts."www.${host}" = {
forceSSL = true;
enableACME = true;
globalRedirect = host;
};
services.nginx.virtualHosts."${host}" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
extraConfig = '' extraConfig = ''

@ -1,6 +1,6 @@
let host = "tegakituesday.com"; in { let host = "tegakituesday.com"; in {
services.nginx.virtualHosts."www.${host}" = { services.nginx.virtualHosts."www.${host}" = {
enableSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
globalRedirect = host; globalRedirect = host;
}; };

Loading…
Cancel
Save