HEJOIKWSJIOWSGIFUVOHJ
This commit is contained in:
parent
07394d0ef0
commit
e7bfc943af
|
@ -130,24 +130,18 @@ in {
|
||||||
users.groups =
|
users.groups =
|
||||||
mkIf (cfg.group == "codeberg-pages") { codeberg-pages = { }; };
|
mkIf (cfg.group == "codeberg-pages") { codeberg-pages = { }; };
|
||||||
|
|
||||||
# services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
# "pages.sako.lol" = {
|
"*.pages.sako.lol" = {
|
||||||
# listen = [{
|
# listen = [{
|
||||||
# addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
# port = 443;
|
# port = 443;
|
||||||
# # ssl = true;
|
# # ssl = true;
|
||||||
# }];
|
# }];
|
||||||
# locations."/" = { proxyPass = "https://localhost:57763"; };
|
useACME = true;
|
||||||
# };
|
useSSL = true;
|
||||||
# "*.pages.sako.lol" = {
|
locations."/" = { proxyPass = "https://localhost:56773"; };
|
||||||
# listen = [{
|
};
|
||||||
# addr = "0.0.0.0";
|
};
|
||||||
# port = 443;
|
|
||||||
# # ssl = true;
|
|
||||||
# }];
|
|
||||||
# locations."/" = { proxyPass = "https://localhost:56773"; };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
security.acme.certs."pages.sako.lol" = {
|
security.acme.certs."pages.sako.lol" = {
|
||||||
extraDomainNames = [ "*.pages.sako.lol" ];
|
extraDomainNames = [ "*.pages.sako.lol" ];
|
||||||
credentialsFile = "/srv/secrets/porkbun";
|
credentialsFile = "/srv/secrets/porkbun";
|
||||||
|
@ -157,7 +151,7 @@ in {
|
||||||
services.nginx.streamConfig = ''
|
services.nginx.streamConfig = ''
|
||||||
server {
|
server {
|
||||||
server_name *.pages.sako.lol;
|
server_name *.pages.sako.lol;
|
||||||
listen 443 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;
|
||||||
|
|
Loading…
Reference in a new issue