Skip to content

Commit

Permalink
Mask nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmarkuz committed Mar 9, 2018
1 parent f620928 commit a70aac1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions root/etc/e-smith/templates/etc/nginx/nginx.conf/10base
Original file line number Diff line number Diff line change
Expand Up @@ -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"';
Expand All @@ -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 _;
Expand All @@ -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 _;
Expand All @@ -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 \{
# \}
# \}

}
\}

0 comments on commit a70aac1

Please # to comment.