this is my 9/11

This commit is contained in:
Sakooooo 2025-01-05 16:27:26 +04:00
parent a9187f492c
commit 2cbc385310
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -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;
} # }
''; # '';
}; };
} }