proper proxy configuration
This commit is contained in:
parent
ee27bc59a6
commit
45a907235d
3 changed files with 12 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
user www-data;
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
error_log /var/log/nginx/error.log;
|
||||
include /etc/nginx/modules-enabled/*.conf;
|
||||
|
||||
events {
|
||||
|
@ -37,7 +36,12 @@ http {
|
|||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
log_format main '$http_x_forwarded_for [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue