diff options
author | Silvino Silva <silvino@bk.ru> | 2016-09-28 01:46:45 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-09-28 01:46:45 +0100 |
commit | 70951b1c23510043c6f321281ff3b80096fc4502 (patch) | |
tree | 0b6da3ea9cdfad875ff7cf34a811bf87fa8a2d0b /tools/conf/etc/nginx/conf.d/10-default.conf | |
parent | e21d5e3ff4e7fea8755bbfa376e8cddf2bacab5a (diff) | |
download | doc-70951b1c23510043c6f321281ff3b80096fc4502.tar.gz |
nginx revision with mantisbt
Diffstat (limited to 'tools/conf/etc/nginx/conf.d/10-default.conf')
-rw-r--r-- | tools/conf/etc/nginx/conf.d/10-default.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/conf/etc/nginx/conf.d/10-default.conf b/tools/conf/etc/nginx/conf.d/10-default.conf new file mode 100644 index 0000000..97ee31b --- /dev/null +++ b/tools/conf/etc/nginx/conf.d/10-default.conf @@ -0,0 +1,8 @@ +## +# Virtual Host Redirection 80 to 443 +## +server { + listen 80 default_server; + server_name _; + return 301 https://$host$request_uri; +} |