ft_transcendence/nginx/conf/locations/auth.conf
Maieul BOYER 964fe908a6 feat(auth): Base auth with plugins
- Add fastify to protect routes plugins (requireAuth: true)
- Simple Demo to show regular password auth (no 2FA/OTP nor remote auth)
- Currently supports: login, logout, signin
- OTP workflow should work, not tested
- Fixed convention for docker volumes (now all placed in /volumes/<name>)
2025-09-01 15:47:07 +02:00

8 lines
144 B
Text

#forward the post request to the microservice
location /api/auth/ {
proxy_pass http://auth$uri;
}
location / {
root /volumes/static/auth/;
}