fix: déploiement pour le frontend
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
worker_processes auto;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
error_log /dev/null warn; # ← Envoyer les logs vers /dev/null
|
||||
pid /tmp/nginx.pid;
|
||||
|
||||
events {
|
||||
@@ -9,15 +9,14 @@ events {
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
access_log /dev/null; # ← Idem pour access logs
|
||||
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
|
||||
server {
|
||||
listen 3000;
|
||||
server_name _;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
@@ -29,4 +28,4 @@ http {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user