https://github.com/devetek/caddyserver-dataprovider
Caddy middleware to provide data to the upstream
https://github.com/devetek/caddyserver-dataprovider
Last synced: 2 months ago
JSON representation
Caddy middleware to provide data to the upstream
- Host: GitHub
- URL: https://github.com/devetek/caddyserver-dataprovider
- Owner: devetek
- Created: 2023-08-21T07:11:26.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2023-08-29T12:54:28.000Z (over 1 year ago)
- Last Synced: 2025-01-21T14:13:19.330Z (4 months ago)
- Language: Go
- Size: 154 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Caddy Data Provider
Caddy Data Provider will help nodeJS server to fetch initial data load using concurrancy in golang. It is increase more than 100% on the server load.
### How To Start
1. Install xcaddy by follow step https://github.com/caddyserver/xcaddy#install
2. Install mkcert by follow step https://github.com/FiloSottile/mkcert#installation
3. Replace PLACEHOLDER domain config with your real domain. Example below
4. Currently middleware only support for Arael path `/blog`, `YOU KNOW WHAT I MEAN`. Run Arael locally and make sure port 3000 and 3001 running properly.
5. Execute command `make generate-ssl` to generating SSL for your local domain
6. Execute command `make run-module` to running web edge
7. Open your domain using HTTPS, e.g: `https://domain.com`