Redirect www.jichan.org to jichan.org, use forceSSL for tegakituesday.com
This commit is contained in:
parent
c2a6deebf9
commit
b416d555d2
2 changed files with 8 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue