linwoodpendleton / nginx_proxy_conf Goto Github PK
View Code? Open in Web Editor NEWnginx任意反向代理配置(支持github,ip138,google)
nginx任意反向代理配置(支持github,ip138,google)
hi please make tiktok version of index.js with this items :
1-dyno index launch tiktok index proxied
2-for https://v16-webapp.tiktok.com/* (based video's url path) proxied
3-for https://p16-sign-va.tiktokcdn.com/* (based image's url path) proxied
waiting for your response
finest regards
1、之前用www.php8.ltd.conf没弄成功,到是用default.conf成功了。
对default.conf的补充:
location /HostLocMJJ/ {
if ($request_uri ~* ^\/(.+)\/((http|https)://(www.)?([\w-]+(\.)?)+)(.*?)$) {
set $gotourl $custom_host$7;
}
set $mjj 0;
if ($banDomain = 1) {
set $mjj 1;
}
if ($custom_host = '') {
set $mjj 2;
}
if ($custom_host = 'pass') {
set $mjj 2;
}
if ($mjj = 2) {
set $gotourl $http_referer;
}
add_header 'xxxxx' $gotourl;
if ($banDomain = 1) {
#return 200 "$gotourl";
return 301 "$gotourl";
#return 404 ;
}
if ($request_method = 'OPTIONS') {
加上这些代码后,基本上登录v2ex。com和浏览发贴都正常。也有不完善的地方,如贴子详情页分页。这个我搞不定了
问题2:如何修改代码可以支持github.com的登录和发贴呢?目前登录时会报session有问题,我也摸不着头脑。
问题3:可否支持gmail的登录呢?好久都没有上过gmail了。
最后,感谢你提供的这个好工具。
443 已经被其他Server占用了, 我设置了其他端口,但是这个配置还是会把端口跳转回443.
大哥,出现“系统检测到您的计算机网络中存在异常流量”有办法修复吗?用于gg搜索出现的。
大哥,请问我用default.conf后,搜索后跳转到了本域名(域名为000.000.net):
https://000.000.net/HostLocMJJ/https://zhuanlan.zhihu.com/p/114528350
然后就报404,还需要手工处理一下域名。如何让这个链接直接跳转到https://zhuanlan.zhihu.com/p/114528350呢?
大哥,用了最新的php8.ltd会导致gg搜索无法跳转到对应网址
比如以下这个网址就无法跳转到正确网址。应该是对v2ex修复时破坏了这种结构
领取铜币的页面:https://v2.xxxxxxx.com/HostLocMJJ/https://v2ex.com/mission/daily
点击“领取X铜币”按钮后,会跳转到登录页面。
记得以前是可以领取的,是哪里出错了?还是我改错了?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.