mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-21 13:18:11 +08:00
Update nginx.conf
This commit is contained in:
parent
7c6329bce7
commit
262d7e49c6
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user