feat: auth container

This commit is contained in:
nihonium 2025-11-23 04:01:29 +03:00
parent c500116916
commit 0942df1fa4
Signed by: nihonium
GPG key ID: 0251623741027CFC
3 changed files with 22 additions and 1 deletions

View file

@ -19,6 +19,15 @@ server {
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /auth/ {
rewrite ^/auth/(.*)$ /$1 break;
proxy_pass http://nyanimedb-auth:8082/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
#error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;