diff options
Diffstat (limited to 'https_redirect')
| -rw-r--r-- | https_redirect | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/https_redirect b/https_redirect new file mode 100644 index 0000000..8a50c29 --- /dev/null +++ b/https_redirect @@ -0,0 +1,9 @@ +# default http -> https redirect + +server { + listen 80 default_server; + server_name _; + location / { + return 301 https://$host$request_uri; + } +}
\ No newline at end of file |