summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/nginx.conf80
1 files changed, 40 insertions, 40 deletions
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;
+# }
}