Add NGinx API location
All checks were successful
ci / Image build (push) Successful in 1m56s
ci / Deployment (push) Successful in 5s

This commit is contained in:
Joris Bertomeu
2024-10-01 11:43:45 +02:00
parent f5d47034b3
commit 8a1013f761
2 changed files with 8 additions and 8 deletions

View File

@@ -19,11 +19,11 @@ server {
try_files $uri $uri/ /index.html =404;
}
# location /api/ {
# proxy_pass http://dockerprod2.icssophia.local:24600/;
# 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;
# }
location /api/ {
proxy_pass http://devhost.bertom.lan:6081/;
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;
}
}