From e01f450ec79c8fe736d5a0ea7edb2812fcc1fc96 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 3 Oct 2019 19:48:56 -0400 Subject: Pull out the default listen into a var --- templates/nginx/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates') 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; -- cgit v1.2.3