diff --git a/root/etc/e-smith/templates/etc/nginx/nginx.conf/10base b/root/etc/e-smith/templates/etc/nginx/nginx.conf/10base index 61cc6b5..c6da033 100644 --- a/root/etc/e-smith/templates/etc/nginx/nginx.conf/10base +++ b/root/etc/e-smith/templates/etc/nginx/nginx.conf/10base @@ -10,11 +10,11 @@ pid /run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.dynamic. include /usr/share/nginx/modules/*.conf; -events { +events \{ worker_connections 1024; -} +\} -http { +http \{ log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; @@ -35,7 +35,7 @@ http { # for more information. include /etc/nginx/conf.d/*.conf; -# server { +# server \{ # listen 80 default_server; # listen [::]:80 default_server; # server_name _; @@ -44,21 +44,21 @@ http { # # Load configuration files for the default server block. # include /etc/nginx/default.d/*.conf; -# location / { -# } +# location / \{ +# \} # error_page 404 /404.html; -# location = /40x.html { -# } +# location = /40x.html \{ +# \} # error_page 500 502 503 504 /50x.html; -# location = /50x.html { -# } -# } +# location = /50x.html \{ +# \} +# \} # Settings for a TLS enabled server. # -# server { +# server \{ # listen 443 ssl http2 default_server; # listen [::]:443 ssl http2 default_server; # server_name _; @@ -74,17 +74,17 @@ http { # # Load configuration files for the default server block. # include /etc/nginx/default.d/*.conf; # -# location / { -# } +# location / \{ +# \} # # error_page 404 /404.html; -# location = /40x.html { -# } +# location = /40x.html \{ +# \} # # error_page 500 502 503 504 /50x.html; -# location = /50x.html { -# } -# } +# location = /50x.html \{ +# \} +# \} -} +\}