summaryrefslogtreecommitdiff
path: root/nginx-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-entrypoint.sh')
-rwxr-xr-xnginx-entrypoint.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/nginx-entrypoint.sh b/nginx-entrypoint.sh
index 8d19f8e..442d018 100755
--- a/nginx-entrypoint.sh
+++ b/nginx-entrypoint.sh
@@ -60,9 +60,9 @@ http {
gzip_vary on;
# Specifies the main log format.
- log_format main '$remote_addr - $remote_user [$time_local] "$request" '
- '$status $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for"';
+ log_format main '$remote_addr - $remote_user [$time_local] \"$request\" '
+ '$status $body_bytes_sent \"$http_referer\" '
+ '\"$http_user_agent\" \"$http_x_forwarded_for\"';
# Sets the path, format, and configuration for a buffered log write.
access_log /var/log/nginx/access.log main;