commit
4a38297009
1 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,11 @@ map $http_upgrade $proxy_connection {
|
||||||
|
|
||||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
access_log /proc/self/fd/1;
|
log_format vhost '$host $remote_addr - $remote_user [$time_local] '
|
||||||
|
'"$request" $status $body_bytes_sent '
|
||||||
|
'"$http_referer" "$http_user_agent"';
|
||||||
|
|
||||||
|
access_log /proc/self/fd/1 vhost;
|
||||||
error_log /proc/self/fd/2;
|
error_log /proc/self/fd/2;
|
||||||
|
|
||||||
# HTTP 1.1 support
|
# HTTP 1.1 support
|
||||||
|
@ -30,8 +34,6 @@ proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
||||||
error_log /proc/self/fd/2;
|
|
||||||
access_log /proc/self/fd/1;
|
|
||||||
return 503;
|
return 503;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue