This commit is contained in:
Sakooooo 2025-01-05 15:50:50 +04:00
parent 2da3b941a5
commit 13e0ad9b34
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -132,14 +132,22 @@ in {
services.nginx.virtualHosts = {
"pages.sako.lol" = {
forceSSL = true;
listen = [{
addr = "0.0.0.0";
port = 443;
ssl = true;
}];
locations."/" = { proxyPass = "http://localhost:4563"; };
extraConfig = ''
ssl_preread on;
'';
};
"*.pages.sako.lol" = {
forceSSL = true;
listen = [{
addr = "0.0.0.0";
port = 443;
ssl = true;
}];
locations."/" = { proxyPass = "http://localhost:4563"; };
extraConfig = ''
ssl_preread on;