This is a template for apps hosted in *.dtrw.ovh server
- Use this template in github, choose new name to be dtrw-app-APPNAME
- Set repo secrets: PAT, VPS_HOST, VPS_PORT, VPS_SSH_KEY, VPS_SSH_PASSPHRASE, VPS_USER, KUMA_API_KEY, KUMA_CONTAINER
- Clone repo locally and run init.sh, provide APPNAME when prompted. Push changes to repo and check Github Actions status.
- Setup Nginx Proxy Manager to proxy traffic to new app:
- add new proxy host for URL SUBDOMAIN.dtrw.ovh
- scheme: http
- hostname: APPNAME_frontend
- port: 80
- block common exploits
- add custom location to the host:
- location:
/api
- scheme: http
- hostname: APPNAME_backend
- port: 4000
- location:
- add new proxy host for URL SUBDOMAIN.dtrw.ovh