Add HTTP to HTTPS redirect for wiki.sickstack.com

This commit is contained in:
staticsafe 2018-06-10 15:53:01 -04:00
parent 62f285f786
commit c1ebd44be3
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@
- location / {
proxy_pass http://127.0.0.1:3000;
}
wiki.sickstack.com.http:
- listen *:80
- listen [::]:80
- server_name wiki.sickstack.com
- return 301 "https://$host$request_uri"
wiki.sickstack.com.https:
- listen *:443 ssl http2
- listen [::]:443 ssl http2