aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-10-03 19:48:56 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-10-03 19:48:56 -0400
commite01f450ec79c8fe736d5a0ea7edb2812fcc1fc96 (patch)
treed04727596b28b4e6f3106336d58132cd917e9824 /templates
parentef3b16ef576cf4e0cffc58ff57ccd2ad250cc9e0 (diff)
downloadnginx-e01f450ec79c8fe736d5a0ea7edb2812fcc1fc96.tar.gz
nginx-e01f450ec79c8fe736d5a0ea7edb2812fcc1fc96.tar.xz
Pull out the default listen into a var
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx/nginx.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/nginx/nginx.conf b/templates/nginx/nginx.conf
index 14079a2..08765d7 100644
--- a/templates/nginx/nginx.conf
+++ b/templates/nginx/nginx.conf
@@ -20,8 +20,7 @@ http {
server_tokens off;
server {
- listen 80;
- listen [::]:80;
+ {{nginx_default_listen}}
server_name localhost;
include acme-challenge;