fix nginx config
This commit is contained in:
parent
65d4ede767
commit
275f897db8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue