Tandoor Images Fix (#6892)

This commit is contained in:
WarLord185 2025-08-16 02:31:02 -04:00 committed by GitHub
parent 8d65b4624f
commit 905198116d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ POSTGRES_USER=$DB_USER
POSTGRES_PASSWORD=$DB_PASS POSTGRES_PASSWORD=$DB_PASS
STATIC_URL=/staticfiles/ STATIC_URL=/staticfiles/
MEDIA_URL=/mediafiles/ MEDIA_URL=/media/
EOF EOF
TANDOOR_VERSION="$(curl -s https://api.github.com/repos/TandoorRecipes/recipes/releases/latest | jq -r .tag_name)" TANDOOR_VERSION="$(curl -s https://api.github.com/repos/TandoorRecipes/recipes/releases/latest | jq -r .tag_name)"
@ -125,7 +125,7 @@ server {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_pass http://unix:/opt/tandoor/tandoor.sock; proxy_pass http://unix:/opt/tandoor/tandoor.sock;
} }
} }