Update nginx.conf

This commit is contained in:
Mashiro 2019-01-27 18:25:24 +08:00
parent 7c6329bce7
commit 262d7e49c6

View File

@ -185,6 +185,11 @@ http {
server_name imgaz.pixiv.net;
server_name comic.pixiv.net;
server_name novel.pixiv.net;
server_name source.pixiv.net;
server_name i1.pixiv.net;
server_name i2.pixiv.net;
server_name i3.pixiv.net;
server_name i4.pixiv.net;
ssl on;
ssl_certificate ca/pixiv.net.crt;
@ -237,13 +242,7 @@ http {
ssl_certificate_key ca/pixiv.net.key;
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
rewrite ^/(.*)$ https://pages.shino.cc/$1 redirect;
}
}