Giter Club home page Giter Club logo

pixiv-nginx's Introduction

pixiv-nginx's People

Contributors

allenx555 avatar butaikirin avatar cherinyy avatar jingkaimori avatar mashirozx avatar shiomile avatar swamdrgon avatar wuliaodexiaoluo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pixiv-nginx's Issues

关于安卓端适配的一点想法

我已经成功用Termux配置了nginx(S7E 8.0 未ROOT),但是一个显而易见的问题就是不能绑定1024以下的端口。
对此我有一些大胆的想法:
1.不使用443端口,建立一个本地VPN(工作原理类似抓包精灵)将数据包发送至本地相应端口。
2.建立一个虚拟环境(类似VirtualXposed),其中的APP都可以使用这种方法进行反向代理。
3.开发插件,用Yandex
4.将这个功能内建在浏览器或者一些开源客户端里。
第一个我正在尝试,然而效果并不是特别好。
我对这方面不太精通,因此这里只是提供一些建议,仅供参考。

您的时钟快了

请问大佬连接 Exhentai时 提示了
您的时钟快了
您计算机的日期和时间(2021年12月31日星期五 上午11:05:54)不正确,因此无法与 exhentai.org 建立私密连接。
换了最新版的在连接变成不是私密连接 明明CA证书已经安装了..
我同步了下时间还是不行是什么情况..
已经解决了,是证书过期了

作者求助:反代 Couldflare 站点,如何实现域前置?

目前 www.pixiv.net 已经解析到 Cloudflare 了,而 Cloudflare 的情况正好比较麻烦,proxy 的时候需要加上一条 proxy_ssl_server_name on;,强制提前发送 SNI 信息(而本项目的目的本就是隐藏 SNI 信息),这样一来请求会直接被 GFW 干掉。

目前项目配置文件的站源仍是使用 pixiv 以前的 IP,但是如果以后站源换 IP,并且全站上了 Cloudflare,我们将无从得知站源 IP,所以如何在套了 CF 的网站上实现 SNI 代理是当务之急,望给予帮助。

参考:
https://serverfault.com/questions/583374/configure-nginx-as-reverse-proxy-with-upstream-ssl
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ssl_server_name
https://trac.nginx.org/nginx/ticket/229

p站的直播看不了

sketch.pixiv.net这个直播站以前是能看直播的,现在可以正常打开,但是看不了直播。

nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in

nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:83
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:104
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:123
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:151
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:174
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:200
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:227
nginx: [warn] the “ssl” directive is deprecated, use the “listen ... ssl” directive instead in /usr/local/etc/nginx/nginx.conf:246

i.pixiv.cat无法访问

使用的第一天图片是可以正常查看的,但是从第二天开始每次访问时 i.pximg.net 总会跳转至 'i.pixiv.cat' 导致图片无法加载,试了试修改hosts但是换了几个IP都没什么效果

关于那个大胆的想法...

有一个比较大胆的想法是,既然我们都已经装上反代理服务器了,那么何不弄个内网穿透,将各自电脑作为代理服务器使用,类似 BT 种子的 P2P 思路,的这样移动设备就能在公网状态上访问另一电脑上的网站代理了

这个我也想过,这样的话不光是代理服务器,也可以把本地的硬盘代理出来当网盘使....
当前,我只能通过SSH反代到阿里云上,再正代出来连接....但是,速度受限于阿里云..实在是太慢了...
然后,在别的博客上看到了这个...https://github.com/axetroy/p2p-chat
这只是发送文本用的..但我觉得通过创世节点来互相发现,实现直连..这个过程应该可以借鉴...
奈何对我来说知识储备不足....要是能实现请务必分享出来....

使用Nginx导致ERR_SSL_PROTOCOL_ERROR?

这个问题极其诡异,我从来都没有遇到过
最近我发现我浏览一些网站(如百度)的时候(火狐和Chrome均有此问题),经常出现ERR_SSL_PROTOCOL_ERROR以及链接中断——表现为要么加载不出页面,要么页面加载一部分就会停止加载
稍作排查之后,排除了Nginx所需的证书的问题和其他常见会导致ERR_SSL_PROTOCOL_ERROR的问题
看到一篇博客提及:https://www.cnblogs.com/pangxiaox/p/8125006.html
Nginx的配置错误会导致ERR_SSL_PROTOCOL_ERROR
我直接下载了这个项目的所有文件,并没有改动过任何的配置文件
所以有人也遇到了和我类似的问题么?请帮助我排查一下是不是Nginx的问题

License problem regarding wnmp/wnmp

The wnmp project is licensed under GNU-GPL v3.0. And the binary in your repo is not an official release of wnmp. However, you didn't publish your source code for the management tool. You should also use GNU-GPL v3.0 for your derived work.

维基百科传不了图

会被引导到维基共享媒体(commons.wikimedia.org)(11月30日以前commons, wikisource, wiktionary能直接访问)

nginx启动问题

证书安装完毕后,打开nginx.exe出现黑框然后马上消失,运行日志文件也是空的,请问一下是什么问题

这个使用体验还是不太好

p站是能正常使用,但是网页会经常卡住,刷新都不行,必须得关闭卡住的页面,点关闭会顿2秒才关闭,有种延迟很高的感觉,明明收藏了,刷新一下显示没有收藏。

加载不出图片

可以连的上
教程里的方法都用过了,但是仍然加载不出图片,
image
如图所示

无法打开谷歌

电脑上配置好Nginx以后,无法打开谷歌网页,会自动跳转至Welcome to Nginx。有解决办法吗?

本项目维护/PR 说明

本来想把项目 Archive 掉的,不过想来好多人还在用那还是保持开放吧。本人无法做到及时地更新了,欢迎各位 PR

下面是一些说明:

hosts需要维护的部分:https://github.com/mashirozx/Pixiv-Nginx/blob/master/hosts 需要及时添加pixiv新域名,比如 myaccount.pixiv.net

这里的上游服务器IP需要维护:https://github.com/mashirozx/Pixiv-Nginx/blob/master/conf/nginx.conf#L38

这样的server块内添加新域名及配置:https://github.com/mashirozx/Pixiv-Nginx/blob/master/conf/nginx.conf#L287

这里的其他操作系统配置文件也需要更新:https://github.com/mashirozx/Pixiv-Nginx/tree/master/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%88%E9%9D%9EWindows%E7%94%A8%E6%88%B7%E4%BD%BF%E7%94%A8%EF%BC%89

pixiv站源服务器IP可以在这里获取(海外节点的IP才是正确的):http://ping.chinaz.com/

无法开启nginx链接

error.log
[emerg] 18072#8496: bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

为什么连youtube也被反代了

我看了hosts,没有相应的规则指向youtube,然而youtube还是被指向localhost,这是发生了什么?
附firefox警告:

您的连接并不安全

www.youtube.com 的管理员没有正确配置好此网站。为避免您的信息失窃,Firefox 并未与此网站建立连接。

此网站采用了 HTTP 严格传输安全(HSTS)机制,要求 Firefox 只能与其建立安全连接。正因如此,您也不能将此证书加入例外列表。

www.youtube.com 使用了无效的安全证书。 该证书仅对下列域名有效: *.pixiv.net, pixiv.net, public-api.secure.pixiv.net, *.secure.pixiv.net, www.pixivision.net, pixiv.me, pximg.net, *.pximg.net, wikipedia.org, *.wikipedia.org, google.com, *.google.com 错误代码: SSL_ERROR_BAD_CERT_DOMAIN

求志愿者帮助测试Android

我在腾讯云的服务器上部署了代理,电脑可以使用,但是手机(小米)始终无法安装证书,不知道是不是证书格式的问题,有人能帮我在其他安卓手机上测试一下吗?

CA及hosts下载

安卓上修改hosts可以用这个

点start也不打勾

error log里面都是这种错误
2019/09/24 21:32:36 [emerg] 6804#6696: bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

右键管理员运行也一样

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.