mirror of
https://github.com/TheTaz25/denis.ergin.git
synced 2025-07-06 05:28:48 +00:00
fix(nginx): log access in nginx
This commit is contained in:
parent
be196209ef
commit
9b487fc703
1 changed files with 2 additions and 8 deletions
10
nginx.conf
10
nginx.conf
|
@ -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 / {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue