diff options
Diffstat (limited to 'linux/conf/nginx/conf.d/10-default.conf')
-rw-r--r-- | linux/conf/nginx/conf.d/10-default.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/conf/nginx/conf.d/10-default.conf b/linux/conf/nginx/conf.d/10-default.conf new file mode 100644 index 0000000..97ee31b --- /dev/null +++ b/linux/conf/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; +} |