diff options
author | John Estabrook <jestabro@vyos.io> | 2020-10-29 07:32:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 07:32:20 -0500 |
commit | aed4cac87220b8f1e578f8ec2e72f954dca881db (patch) | |
tree | 02c6d2ac5366c0284c2632fd2ec14d189ffc720c /data | |
parent | 58e99dc96e52e4c4b6c0da3b155fe59a039d41a7 (diff) | |
parent | affc21819be92a0d19541a14184ceea7218c4ce8 (diff) | |
download | vyos-1x-aed4cac87220b8f1e578f8ec2e72f954dca881db.tar.gz vyos-1x-aed4cac87220b8f1e578f8ec2e72f954dca881db.zip |
Merge pull request #586 from cjeanneret/nginx-redirect
T3029 Correct generated nginx content
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/https/nginx.default.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl index a20be45ae..855ebff4f 100644 --- a/data/templates/https/nginx.default.tmpl +++ b/data/templates/https/nginx.default.tmpl @@ -5,7 +5,7 @@ server { listen 80 default_server; listen [::]:80 default_server; server_name _; - return 301 https://$server_name$request_uri; + return 301 https://$host$request_uri; } {% for server in server_block_list %} |