Fix logout (add missing nginx auth proxy) + show name/email in sidebar footer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fdbd92d6c2
commit
70908807f6
2 changed files with 15 additions and 4 deletions
|
|
@ -8,6 +8,14 @@ server {
|
|||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location /twin-optimiser/api/auth/ {
|
||||
proxy_pass http://10.10.10.101:3001/api/auth/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
add_header Cache-Control "no-store";
|
||||
}
|
||||
|
||||
location /twin-optimiser/api/ {
|
||||
proxy_pass http://backend:3001/api/;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue