mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-22 05:38:11 +08:00
Port 80 auto rewrite
This commit is contained in:
parent
bdd4e7f0c1
commit
81d1b24b9f
@ -65,9 +65,13 @@ http {
|
||||
server 210.140.92.135:443;
|
||||
server 210.140.92.136:443;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
rewrite ^(.*) https://$host$1 permanent;
|
||||
}
|
||||
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name pixiv.net;
|
||||
server_name www.pixiv.net;
|
||||
|
@ -1 +1 @@
|
||||
14548
|
||||
9548
|
||||
|
@ -65,9 +65,13 @@ http {
|
||||
server 210.140.92.135:443;
|
||||
server 210.140.92.136:443;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
rewrite ^(.*) https://$host$1 permanent;
|
||||
}
|
||||
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name pixiv.net;
|
||||
server_name www.pixiv.net;
|
||||
|
Loading…
Reference in New Issue
Block a user