update nginx.conf

This commit is contained in:
Dawid Wysokiński 2021-04-24 08:15:17 +02:00
parent 01db422b4f
commit a1dede632d
1 changed files with 1 additions and 6 deletions

View File

@ -16,16 +16,11 @@ http {
# what is the default one
default_type application/octet-stream;
# Sets the path, format, and configuration for a buffered log write
log_format compression '$remote_addr - $remote_user [$time_local] '
'"$request" $status $upstream_addr '
'"$http_referer" "$http_user_agent"';
server {
# listen on port 80
listen 80;
# save logs here
access_log /var/log/nginx/access.log compression;
access_log /var/log/nginx/access.log combined;
# where the root here
root /var/www;