This commit is contained in:
Sakooooo 2025-01-05 17:35:45 +04:00
parent 16ff66a996
commit e25c990799
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -157,19 +157,6 @@ in {
''; '';
locations."/" = { proxyPass = "https://localhost:4563"; }; locations."/" = { proxyPass = "https://localhost:4563"; };
}; };
"*.*.pages.sako.lol" = {
# listen = [{
# addr = "0.0.0.0";
# port = 443;
# # ssl = true;
# }];
forceSSL = true;
useACMEHost = "pages.sako.lol";
extraConfig = ''
proxy_ssl_server_name on;
'';
locations."/" = { proxyPass = "https://localhost:4563"; };
};
}; };
security.acme.certs."pages.sako.lol" = { security.acme.certs."pages.sako.lol" = {
extraDomainNames = [ "*.pages.sako.lol" ]; extraDomainNames = [ "*.pages.sako.lol" ];