From 90f4de487c3c847aa9da44adea050cea69dfb5a3 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 24 Nov 2017 17:38:15 +0100 Subject: Working on disabling chars that shouldn't be used. --- conf/nginx.conf | 80 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'conf') diff --git a/conf/nginx.conf b/conf/nginx.conf index c91d76a..66ce5c5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -64,44 +64,44 @@ http { } } - ## Public tests - server { - listen 443; - server_name tacticians.online; - - ssl on; - ssl_certificate /secure/tacticians.pem; - ssl_certificate_key /secure/tacticians.key; - - access_log /var/log/nginx/public.ssl_access_log main; - error_log /var/log/nginx/public.ssl_error_log info; - - root /my/src/tacticians-client/www/; - - location / { - autoindex on; - autoindex_exact_size off; - } - - location /handler/ { - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_pass http://127.0.0.1:8000; - } - } - - ## Let's Encrypt Tests - server { - listen 80; - server_name acme; - - location /.well-known/acme-challenge/ - { - alias /var/www/challenges/; - try_files $uri =404; - } - - access_log /var/log/nginx/acme.access_log main; - error_log /var/log/nginx/acme.error_log info; - } +# ## Public tests +# server { +# listen 443; +# server_name tacticians.online; +# +# ssl on; +# ssl_certificate /secure/tacticians.pem; +# ssl_certificate_key /secure/tacticians.key; +# +# access_log /var/log/nginx/public.ssl_access_log main; +# error_log /var/log/nginx/public.ssl_error_log info; +# +# root /my/src/tacticians-client/www/; +# +# location / { +# autoindex on; +# autoindex_exact_size off; +# } +# +# location /handler/ { +# proxy_set_header Host $host; +# proxy_set_header X-Real-IP $remote_addr; +# proxy_pass http://127.0.0.1:8000; +# } +# } +# +# ## Let's Encrypt Tests +# server { +# listen 80; +# server_name acme; +# +# location /.well-known/acme-challenge/ +# { +# alias /var/www/challenges/; +# try_files $uri =404; +# } +# +# access_log /var/log/nginx/acme.access_log main; +# error_log /var/log/nginx/acme.error_log info; +# } } -- cgit v1.2.3-70-g09d2