aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-11-13 18:31:22 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-11-13 18:31:22 -0500
commit69eb712a78868c624ae7030e7ccde41c9719ac3d (patch)
treef7f53c8ee4d09bffd10188a0e1f34b7f6d830f26 /templates
parent1cf051de9e5efc7b1c7cced80d853c668fa7d608 (diff)
downloadnginx-69eb712a78868c624ae7030e7ccde41c9719ac3d.tar.gz
nginx-69eb712a78868c624ae7030e7ccde41c9719ac3d.tar.xz
Change how the configuration is written to the servers
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx/acl9
-rw-r--r--templates/nginx/acme-challenge1
-rw-r--r--templates/nginx/nginx.conf49
3 files changed, 0 insertions, 59 deletions
diff --git a/templates/nginx/acl b/templates/nginx/acl
deleted file mode 100644
index ad33e0a..0000000
--- a/templates/nginx/acl
+++ /dev/null
@@ -1,9 +0,0 @@
-# RFC 1918 addresses
-allow 172.16.0.0/12;
-allow 192.168.0.0/16;
-allow 10.0.0.0/8;
-
-{{nginx_acl_block}}
-
-deny all;
-
diff --git a/templates/nginx/acme-challenge b/templates/nginx/acme-challenge
deleted file mode 100644
index 354dd99..0000000
--- a/templates/nginx/acme-challenge
+++ /dev/null
@@ -1 +0,0 @@
-{{nginx_acme_challenge_block}}
diff --git a/templates/nginx/nginx.conf b/templates/nginx/nginx.conf
deleted file mode 100644
index 08765d7..0000000
--- a/templates/nginx/nginx.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-worker_processes {{nginx_worker_processes}};
-
-events {
- worker_connections {{nginx_worker_connections}};
-}
-
-
-http {
- include mime.types;
- default_type application/octet-stream;
-
- sendfile on;
- #tcp_nopush on;
-
- #keepalive_timeout 0;
- keepalive_timeout 65;
-
- gzip on;
-
- server_tokens off;
-
- server {
- {{nginx_default_listen}}
- server_name localhost;
-
- include acme-challenge;
-
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- }
-
- location /stub_status {
- stub_status;
- access_log off;
- allow 127.0.0.1;
- deny all;
- }
-
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- }
-
- include conf.d/*.conf;
-
-}
-