convert port to string

This commit is contained in:
chaos 2024-12-16 14:41:42 +00:00
parent 275f897db8
commit 2ab1542bd2

View file

@ -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;