convert port to string
This commit is contained in:
parent
275f897db8
commit
2ab1542bd2
|
@ -54,7 +54,7 @@ in {
|
|||
enableACME = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://127.0.0.1:${config.services.photoprism.port}";
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.photoprism.port}";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
Loading…
Reference in a new issue