diff options
author | Silvino Silva <silvino@bk.ru> | 2016-10-03 22:48:38 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-10-03 22:49:20 +0100 |
commit | c30b14dbcfb60418a0d7fd050a096c9bc20a380b (patch) | |
tree | 0aa945da5a98a0a1d837ff55338800d0a46db820 /tools/conf/etc/nginx/conf.d/10-default.conf | |
parent | cf0657e1b62b59e2f54bc0cb88870c4db1e36769 (diff) | |
parent | e6d81cddaba6e3a1583a193ddf1b7405fbdd9889 (diff) | |
download | doc-c30b14dbcfb60418a0d7fd050a096c9bc20a380b.tar.gz |
Release 0.2.3
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; +} |