mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-21 21:28:11 +08:00
新增对Archive of our own的支持
This commit is contained in:
parent
d080525ba2
commit
044891de59
@ -303,6 +303,25 @@ http {
|
|||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name *.archiveofourown.org;
|
||||||
|
server_name archiveofourown.org;
|
||||||
|
|
||||||
|
ssl on;
|
||||||
|
ssl_certificate ca/pixiv.net.crt;
|
||||||
|
ssl_certificate_key ca/pixiv.net.key;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass https://104.153.64.122/;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Real_IP $remote_addr;
|
||||||
|
proxy_set_header User-Agent $http_user_agent;
|
||||||
|
proxy_set_header Accept-Encoding '';
|
||||||
|
proxy_buffering off;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
Loading…
Reference in New Issue
Block a user