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

inky
Elnu 9 months ago
parent c2a6deebf9
commit b416d555d2

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

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

Loading…
Cancel
Save