Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 799 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 799 Bytes

cors-anywhere-selfhost

A https based cors anywhere selfhost code.

More infomation please read the origin project cors-anywhere README.

Usage

First apply for a certificate use acme.sh. It will generate several files, we only use YOUR.DOMAIN.com.key and fullchain.cer.

Second put the js file in your server.

Finally, run it.

nohup node cors-anywhere-selfhost.js &

Renew

Normally it will automatically renew. If there is no automatic renewal, use the following command:

~/.acme.sh/acme.sh --force --issue --dns dns_cf -d YOUR.DOMAIN.com

Ref:

  1. ss-libev 插件 v2ray-plugin 的安装使用