This commit is contained in:
2026-08-28 17:31:02 +02:00
commit 2b30e8bd39
694 changed files with 49243 additions and 0 deletions
@@ -0,0 +1,59 @@
location /uploads/public/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header x-shop-surface ${SHOP_SURFACE};
proxy_pass http://backend:${BACKEND_PORT};
}
location = /api/shop-settings/simplex-connect {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header x-shop-surface ${SHOP_SURFACE};
proxy_read_timeout 320s;
proxy_send_timeout 320s;
proxy_connect_timeout 30s;
proxy_pass http://backend:${BACKEND_PORT};
}
location /api {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header x-shop-surface ${SHOP_SURFACE};
proxy_read_timeout 120s;
proxy_send_timeout 120s;
proxy_pass http://backend:${BACKEND_PORT};
}
location = /cms {
return 301 /cms/;
}
location /cms/ {
root /usr/share/nginx/html;
try_files $uri $uri/ /cms/index.html;
}
location /pgadmin {
proxy_set_header X-Script-Name /pgadmin;
proxy_set_header Host $host;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Set-Cookie;
proxy_pass http://pgadmin;
proxy_redirect off;
}
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header x-shop-surface ${SHOP_SURFACE};
proxy_pass http://backend:${BACKEND_PORT};
}