1
0
mirror of https://github.com/C9Glax/tranga-website.git synced 2025-05-15 10:53:01 +02:00

more conf tweaks

This commit is contained in:
db-2001 2024-03-06 00:06:16 -05:00
parent ef5524d7b6
commit d05b8ea76b

@ -12,7 +12,10 @@ server {
location ~ /api/ { location ~ /api/ {
proxy_pass_request_headers on; proxy_pass_request_headers on;
proxy_pass http://tranga-api:6531/; set $upstream_app tranga-api;
set $upstream_port 6531;
set $upstream_proto http:
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
} }
#error_page 404 /404.html; #error_page 404 /404.html;