Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/archlinuxstudio/cors-anywhere-selfhost
A https based cors anywhere selfhosted code.
https://github.com/archlinuxstudio/cors-anywhere-selfhost
cors-anywhere https self-hosted
Last synced: 2 days ago
JSON representation
A https based cors anywhere selfhosted code.
- Host: GitHub
- URL: https://github.com/archlinuxstudio/cors-anywhere-selfhost
- Owner: ArchLinuxStudio
- License: gpl-3.0
- Created: 2021-07-11T23:16:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-25T09:35:59.000Z (over 3 years ago)
- Last Synced: 2024-11-10T04:28:44.277Z (about 2 months ago)
- Topics: cors-anywhere, https, self-hosted
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cors-anywhere-selfhost
A https based cors anywhere selfhost code.
More infomation please read the origin project [cors-anywhere](https://github.com/Rob--W/cors-anywhere) README.
## Usage
First apply for a certificate use [acme.sh](https://github.com/acmesh-official/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.
```bash
nohup node cors-anywhere-selfhost.js &
```## Renew
Normally it will automatically renew. If there is no automatic renewal, use the following command:
```bash
~/.acme.sh/acme.sh --force --issue --dns dns_cf -d YOUR.DOMAIN.com
```---
Ref:
1. [ss-libev 插件 v2ray-plugin 的安装使用](https://gist.github.com/shuanghua/c9c448f9bd12ebbfd720b34f4e1dd5c6)