Add nginx redirect to https
This commit is contained in:
@@ -17,6 +17,11 @@ server {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name infomate.club;
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name infomate.club;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user