# /etc/nginx/secubox.d/auth.conf # Installed by secubox-auth package # Explicit login endpoint (FastAPI root_path=/api/v1/auth, router prefix=/auth) location = /api/v1/auth/auth/login { proxy_pass http://unix:/run/secubox/auth.sock:/auth/auth/login; include /etc/nginx/snippets/secubox-proxy.conf; } # All other auth endpoints location /api/v1/auth/ { proxy_pass http://unix:/run/secubox/auth.sock:/auth/; include /etc/nginx/snippets/secubox-proxy.conf; }