Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM nginx:latest


ARG CONF_TYPE
ARG CONF_TYPE=default

# Copy the custom Nginx configuration file to the container
COPY ${CONF_TYPE}.conf /etc/nginx/conf.d/nginx-template.conf
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# coolify-nginx-reverse-proxy

# running on coolify

- Create a resource under a project
- Docker Image: `ghcr.io/andreitere/coolify-nginx-reverse-proxy` Tag: `latest`
- Env Var `PROXY_HOST` set to something like: `http://192.168.1.21:8123`
- Set the domain you want to proxy, e.g. `https://test001.mydomain.com`
- Save and redeploy

# running locally

```shell
docker run \
--rm \
-e PROXY_HOST=http://192.168.1.21:8123 \
-p 80:80 \
--build-arg CONF_TYPE=${CONF_TYPE:-default} \
ghcr.io/andreitere/coolify-nginx-reverse-proxy:latest
```