summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-01-06 07:46:30 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-01-06 07:46:30 -0600
commit2c6fe0aeef0933ffd18089d53af0bc6820100d0f (patch)
treecd0c663d463107122f28affd97293070937bc874
parent83f281c9a3c658f2ca5df77101279f40bd9d4540 (diff)
downloadvyos-1x-2c6fe0aeef0933ffd18089d53af0bc6820100d0f.tar.gz
vyos-1x-2c6fe0aeef0933ffd18089d53af0bc6820100d0f.zip
https: T4146: do not listen on port 80
-rw-r--r--data/templates/https/nginx.default.tmpl6
1 files changed, 0 insertions, 6 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index ac9203e83..e8511bd62 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -1,12 +1,6 @@
### Autogenerated by https.py ###
# Default server configuration
#
-server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
- return 301 https://$host$request_uri;
-}
{% for server in server_block_list %}
server {