mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 06:23:54 -05:00
Merge remote-tracking branch 'origin/master' into 24.11
This commit is contained in:
commit
fb2fb67b00
|
@ -22,6 +22,7 @@ in {
|
||||||
"git.${domain}"
|
"git.${domain}"
|
||||||
"music.${domain}"
|
"music.${domain}"
|
||||||
"passwords.${domain}"
|
"passwords.${domain}"
|
||||||
|
"pics.${domain}"
|
||||||
"plex.${domain}"
|
"plex.${domain}"
|
||||||
"podcasts.${domain}"
|
"podcasts.${domain}"
|
||||||
domain
|
domain
|
||||||
|
@ -238,6 +239,26 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"pics.${domain}" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${ip}:${toString 3001}";
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 5000M;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_redirect http:// https://;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"plex.${domain}" = {
|
"plex.${domain}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue