Compare commits

...

7 Commits
v2.9 ... main

Author SHA1 Message Date
Mashiro 45539c9334
Update README.md 2023-03-15 01:05:45 +08:00
Mashiro f34dee5ebb
Update LICENSE 2023-03-13 21:46:09 +08:00
Mashiro a2a8734147
Update README.md 2021-10-23 23:06:11 +08:00
mashirozx 3d5ff59de0 proxy instead of rewrite 2021-10-23 22:59:56 +08:00
mashirozx 241d025459 更换pximg镜像 2021-10-23 22:36:59 +08:00
Mashiro 0bdc796281
Update README.md 2021-10-21 13:45:22 +08:00
Mashiro 3a705a35e0
Update README.md 2021-10-21 13:39:22 +08:00
4 changed files with 35 additions and 28 deletions

27
LICENSE
View File

@ -1,21 +1,14 @@
MIT License
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (c) 2018 Mashiro
Copyright (C) 2018 Mashiro
Copyright (C) 2023 Mashiro <moezhx@outlook.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -5,13 +5,20 @@
使用说明见 <https://2heng.xin/2017/09/19/pixiv/>
请在[此处](https://github.com/mashirozx/Pixiv-Nginx/releases)下载稳定版`Source code
(zip)`;或者在本页点击下图所示的按键下载以获取最新版。
![](https://view.moezx.cc/images/2018/09/17/git.png)
在本页点击下图所示的按键下载以获取最新版。
如遇本页下载速度过慢,可尝试通过[国内镜像](https://gitee.com/mashirozx/Pixiv-Nginx)下载。
<img src="https://view.moezx.cc/images/2018/09/17/git.png" width="360" alt="下载方法" />
如遇本页下载速度过慢,可尝试通过镜像下载:
|[👉 镜像1](https://git.mashiro.top/mirrors/Pixiv-Nginx) |[👉 镜像2](https://git.moezx.cc/mirrors/Pixiv-Nginx)|
|---|---|
|<img src="https://view.moezx.cc/images/2023/03/15/ed9589b16436258a529172fbaa052b60.png" width="360" alt="镜像1下载方法" /> | <img src="https://view.moezx.cc/images/2021/10/23/c5a92987653ea0c6921b1a461401cfec.png" width="360" alt="镜像2下载方法" />|
### LICENSE
<a href="http://www.wtfpl.net/"><img src="https://ngx.moezx.cc/share/svg/brands/WTFPL_badge.svg" width="80" alt="WTFPL" /></a>
This is a fork of [nginx/nginx](https://github.com/nginx/nginx), so you should always follow its [2-clause BSD-like license](http://nginx.org/LICENSE).
The visualized management tool is part of [wnmp/wnmp](https://github.com/wnmp/wnmp), which is under [GPL-3.0](https://github.com/wnmp/wnmp/blob/master/LICENSE).

View File

@ -112,15 +112,22 @@ server {
ssl_certificate_key ca/pixiv.net.key;
location / {
rewrite ^/(.*)$ https://i.pixiv.cat/$1 redirect;
set $pximg_url i.pixiv.re;
#rewrite ^/(.*)$ https://$pximg_url/$1 redirect;
# proxy_pass https://i-pximg-net;
# 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;
resolver 223.5.5.5;
proxy_pass https://$pximg_url;
proxy_set_header Host $pximg_url;
proxy_ssl_server_name on;
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;
}
}

View File

@ -1 +1 @@
5812
4624