update nginx.conf
This commit is contained in:
parent
01db422b4f
commit
a1dede632d
|
@ -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;
|
||||
|
|
Reference in New Issue