Remove access log
This commit is contained in:
1 parent
317226996d
commit
6f1e525c3a
1 file changed
+7
-2
+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