File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 22FROM nginx:latest
33
44
5- ARG CONF_TYPE
5+ ARG CONF_TYPE=default
66
77# Copy the custom Nginx configuration file to the container
88COPY ${CONF_TYPE}.conf /etc/nginx/conf.d/nginx-template.conf
Original file line number Diff line number Diff line change 1+ # coolify-nginx-reverse-proxy
2+
3+ # running on coolify
4+
5+ - Create a resource under a project
6+ - Docker Image: ` ghcr.io/andreitere/coolify-nginx-reverse-proxy ` Tag: ` latest `
7+ - Env Var ` PROXY_HOST ` set to something like: ` http://192.168.1.21:8123 `
8+ - Set the domain you want to proxy, e.g. ` https://test001.mydomain.com `
9+ - Save and redeploy
10+
11+ # running locally
12+
13+ ``` shell
14+ docker run \
15+ --rm \
16+ -e PROXY_HOST=http://192.168.1.21:8123 \
17+ -p 80:80 \
18+ --build-arg CONF_TYPE=${CONF_TYPE:- default} \
19+ ghcr.io/andreitere/coolify-nginx-reverse-proxy:latest
20+ ```
You can’t perform that action at this time.
0 commit comments