ft_transcendence/nginx/conf/locations/user.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

4 lines
95 B
Text

#forward the post request to the microservice
location /api/user/ {
proxy_pass http://user;
}