first working version!

This commit is contained in:
knoflook 2022-09-27 17:24:29 +02:00
parent f0ec5745eb
commit 8e23662c5c
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ server {
proxy_pass https://community.foodsaving.world/;
}
error_page 405 =200 $uri;
location ^\/(api(\-auth)?|docs|silk)\/ {
location ~ ^\/(api(\-auth)?|docs|silk)\/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;