it works i guess
This commit is contained in:
parent
809d072615
commit
f4ee9acf12
|
@ -157,9 +157,22 @@ 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" "*.*.pages.sako.lol" ];
|
||||||
credentialsFile = "/srv/secrets/porkbun";
|
credentialsFile = "/srv/secrets/porkbun";
|
||||||
dnsProvider = "porkbun";
|
dnsProvider = "porkbun";
|
||||||
webroot = null;
|
webroot = null;
|
||||||
|
|
Loading…
Reference in a new issue