feat(frontend): simplication de la conf nginx + ajout du stage pour le runner dans le dockerfile

This commit is contained in:
ineszang
2026-09-15 11:50:08 +02:00
parent 39b1daea51
commit 8efa034f9c
2 changed files with 66 additions and 2 deletions
+32
View File
@@ -0,0 +1,32 @@
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /tmp/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 3000;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ /\. {
deny all;
}
}
}