From 300920355b815499c95429c9a319c2787cab6917 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 12 Nov 2024 19:41:34 +0100 Subject: [PATCH] Update README.md --- services/proxy/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/services/proxy/README.md b/services/proxy/README.md index 2a78650e..e85de117 100644 --- a/services/proxy/README.md +++ b/services/proxy/README.md @@ -1 +1,17 @@ # proxy service used for website preview on specific IP + +downlaod content and run insta..sh or + +```bash +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.