- 高校很多都采用了一种基于浏览器的网页代理( webvpn ),这种方式似乎是许多年前过墙的方式,这种方式是如何处理页面中大量静态资源的?
- 这种工作方式下,webvpn 是算反向代理还是正向代理呢?
- 想不明白 nginx 这些做反向代理好像是工作在应用层,如何处理静态资源的?
谢谢大家。
谢谢大家。
1
totoro625 Jul 31, 2024
可以参考一下这个项目: https://github.com/netptop/siteproxy
|
4
DIO Jul 31, 2024 via Android
相关好用的项目有推荐吗
|
5
totoro625 Jul 31, 2024 @Vitumoc #2 可以看一下 forks: https://github.com/netptop/siteproxy/forks
另一个项目: https://github.com/EtherDream/jsproxy |
6
Vitumoc Jul 31, 2024
看了一下,可以回答题主了:
学校用的,这个帖子有讨论 |
7
Vitumoc Jul 31, 2024
看了一会,可以回答题主了:
学校用的,这个帖子有讨论,结论就是技术上是反向代理,然后有成熟的供应商 https://www.v2ex.com/t/979011 至于这个项目 https://github.com/netptop/siteproxy 这种代理方式,自述中有原理: 1. user browser url: https://siteproxy.herokuapp.com/https/www.google.com 2. siteproxy.herokuapp.com received the url and request www.google.com, and get response from www.google.com 3. siteproxy replace all returned strings in javascript/html: https://www.google.com => https://siteproxy.herokuapp.com/https/www.google.com url(/xxx) => url(/https/www.google.com/xxx) https://xxx => https://siteproxy.herokuapp.com/https/xxx etc. 4. send back the modified html/javascript to user browser. |