this is my 9/11
This commit is contained in:
parent
a9187f492c
commit
2cbc385310
|
@ -139,7 +139,7 @@ in {
|
||||||
# }];
|
# }];
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = { proxyPass = "https://localhost:55342"; };
|
locations."/" = { proxyPass = "https://localhost:4563"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
security.acme.certs."pages.sako.lol" = {
|
security.acme.certs."pages.sako.lol" = {
|
||||||
|
@ -148,20 +148,20 @@ in {
|
||||||
dnsProvider = "porkbun";
|
dnsProvider = "porkbun";
|
||||||
webroot = null;
|
webroot = null;
|
||||||
};
|
};
|
||||||
services.nginx.streamConfig = ''
|
# services.nginx.streamConfig = ''
|
||||||
server {
|
# server {
|
||||||
server_name *.pages.sako.lol;
|
# server_name *.pages.sako.lol;
|
||||||
listen 55342 ssl;
|
# listen 55342 ssl;
|
||||||
|
|
||||||
ssl_certificate /var/lib/acme/pages.sako.lol/fullchain.pem;
|
# ssl_certificate /var/lib/acme/pages.sako.lol/fullchain.pem;
|
||||||
ssl_certificate_key /var/lib/acme/pages.sako.lol/key.pem;
|
# ssl_certificate_key /var/lib/acme/pages.sako.lol/key.pem;
|
||||||
|
|
||||||
proxy_connect_timeout 1s;
|
# proxy_connect_timeout 1s;
|
||||||
proxy_timeout 3s;
|
# proxy_timeout 3s;
|
||||||
|
|
||||||
proxy_pass https://localhost:4563;
|
# proxy_pass https://localhost:4563;
|
||||||
ssl_preread on;
|
# ssl_preread on;
|
||||||
}
|
# }
|
||||||
'';
|
# '';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue