ft_transcendence/nginx/conf/locations/auth.conf
Maieul BOYER 26627cd4d7 feat(infra/nginx): Fixed nginx redirection and fixed dockerfiles
- nginx now use "raw" proxy_pass, where it doesnt supply the $uri since
  if only the host is provided, nginx will handle lots of usecases
- pnpm now uses the lockfile correctly
- Docker: use lockfile in all steps
- Docker: install the necessary packages if building from source is
  needed (better-sqlite3 for example)
2025-10-28 13:47:20 +01:00

8 lines
140 B
Text

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