feat: update nginx configuration and enhance AuthContext for improved authentication handling

This commit is contained in:
Thibault Pouch
2026-03-02 09:38:34 +01:00
parent 90efb6175f
commit 65282832cb
3 changed files with 50 additions and 34 deletions

View File

@@ -3,6 +3,12 @@ server {
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://api:3000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
try_files $uri $uri/ /index.html;
}