1
0
Fork 0
mirror of https://github.com/TheTaz25/denis.ergin.git synced 2025-07-06 06:28:48 +00:00

fix(nginx): log access in nginx

This commit is contained in:
Denis Ergin 2024-10-01 13:09:12 +02:00
parent be196209ef
commit 9b487fc703

View file

@ -11,16 +11,10 @@ http {
include mime.types;
default_type text/html;
log_format main '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
log_format main '"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$gzip_ratio"';
log_format download '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$http_range" "$sent_http_content_range"';
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
@ -47,7 +41,7 @@ http {
server_name denis-ergin.de www.denis-ergin.de;
root /usr/share/nginx/html;
access_log /var/log/nginx.access_log main;
access_log /var/log/nginx/access.log main;
location / {