ft_transcendence/nginx/conf/locations/app.conf
Maieul BOYER 2ed524872b feat(docker): Multi stage docker now fetch deps once
Split dockerfile into three different dockerfiles such that dependencies
are only downloaded once

This allows the build to be a bit faster, since all deps are downloaded
once at the start.

This also makes it so the frontend container no longer needs to be ran,
as its files are directly embedded into the nginx container

This also remove the extra files, since bind mounts do work
it also remove the entrypoint.sh file, as you should prefer to not use
it
2025-12-30 19:02:07 +01:00

12 lines
181 B
Text

location /app {
root /var/share/www/static/;
try_files /index.html =404;
}
location /assets {
root /var/share/www/static/;
}
location / {
return 301 https://$http_host/app;
}