fix nginx config

This commit is contained in:
chaos 2024-12-16 14:40:52 +00:00
parent 65d4ede767
commit 275f897db8

View file

@ -49,12 +49,12 @@ in {
originalsPath = "/Photos";
};
services.nginx.virtualHosts."vault.owo.monster" = {
services.nginx.virtualHosts."photoprism.owo.monster" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://127.0.0.1:8200";
proxyPass = "http://127.0.0.1:${config.services.photoprism.port}";
proxyWebsockets = true;
extraConfig = ''
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;