openpanel/services/proxy
2024-11-12 20:04:33 +01:00
..
caddy Create privkey.pem 2024-11-12 19:19:45 +01:00
html Rename services/proxy/domains/.gitkeep to services/proxy/html/domains/.gitkeep 2024-11-12 19:17:24 +01:00
delete_cron.sh Create delete_cron.sh 2024-11-12 18:58:12 +01:00
Dockerfile Update Dockerfile 2024-11-12 20:04:33 +01:00
INSTALL.sh Update INSTALL.sh 2024-11-12 19:33:05 +01:00
README.md Update README.md 2024-11-12 19:43:35 +01:00

Temporary Links service for OpenPanel server

proxy service used for website preview on specific IP

Install with Docker

Download proxy directory content and inside it run:

docker build -t openpanel_proxy . && \
docker run -d \
  -e DOMAIN="your-domain.com" \
  -e PREVIEW_DOMAIN="preview.your-domain.com" \
  -p 80:80 \
  -p 443:443 \
  --name openpanel_proxy \
  openpanel_proxy
  • DOMAIN - on which the api will be available - exmaple if set to example.net then you would point example.net to the server and on OpenPanel set: opencli config update temporary_links "https://example.net/index.php"
  • PREVIEW_DOMAIN - domain on which sub-domains will be created. - if set to example.com then you would point *.example.com to the server and generate SSL for it.

Install on RockyLinux

downlaod content, follow instructions from install.sh and then run it

bahs install.sh