Skip to content

Nginx as Proxy #48

@cf020031308

Description

@cf020031308
  1. Manage traffic like cow.
  2. Ban index page of time-killing sites like zhihu (maybe in a set time period).
  3. Cache sites/pages that are stored in lynx bookmark.
  4. Map some URLs to local files.

#48: Ban index page of time-killing sites

Check if sock5 is available in Nginx.
socks-nginx-module is not built in openresty.
starius/lua-resty-socks5 seems feasible.
But the final solution goes like this: nginx (equipped with VeryNginx) as proxy -> cow -> ss-local with v2ray, with respect to the latter two layers already exist.

So I don't have to take off cow and transplant its features into nginx.

What's more, in order to read the bookmark of lynx, nginx should be run at my host machine, not in docker.

Suspend

Use docker-compose to make all this into two container: one is nginx and another is sslocal.

Anyway, do it only when necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions