[nginx] Redirect over SSL as well

This commit is contained in:
Vincent Ambo 2016-03-03 23:06:08 +01:00
parent 0a10a4487a
commit 8eec8c6127
No known key found for this signature in database
GPG key ID: 66F505681DB8F43B

View file

@ -42,6 +42,7 @@ server {
# Redirect for oslo.pub # Redirect for oslo.pub
server { server {
listen 80; listen 80;
listen 443 ssl;
server_name oslo.pub *.oslo.pub; server_name oslo.pub *.oslo.pub;
return 302 https://git.tazj.in/tazjin/pubkartet; return 302 https://git.tazj.in/tazjin/pubkartet;
} }