|
|
|
@ -448,3 +448,46 @@ server { |
|
|
|
|
proxy_buffering off; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
upstream e-hentai-lb { |
|
|
|
|
server 104.20.26.25:443; |
|
|
|
|
server 104.20.27.25:443; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
server { |
|
|
|
|
listen 443 ssl; |
|
|
|
|
server_name e-hentai.org; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ssl_certificate ca/pixiv.net.crt; |
|
|
|
|
ssl_certificate_key ca/pixiv.net.key; |
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
proxy_pass https://e-hentai-lb/; |
|
|
|
|
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 { |
|
|
|
|
listen 443 ssl; |
|
|
|
|
server_name forums.e-hentai.org; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ssl_certificate ca/pixiv.net.crt; |
|
|
|
|
ssl_certificate_key ca/pixiv.net.key; |
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
proxy_pass https://94.100.18.243:443/; |
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|