Remove access log
This commit is contained in:
+7
-2
@@ -1,7 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# Désactiver les logs d'accès (vie privée)
|
||||
access_log off;
|
||||
|
||||
# Garder uniquement les erreurs
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8000/api/;
|
||||
@@ -10,6 +14,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user