https://github.com/alvarogarcia7/nginx-reverse-proxy-docker
A Docker setup to use Nginx as a reverse proxy to the host
https://github.com/alvarogarcia7/nginx-reverse-proxy-docker
certificate dev-environment dev-environment-setup dev-setup dev-tools docker gplv3 make makefile nginx reverse-proxy ssl
Last synced: 4 months ago
JSON representation
A Docker setup to use Nginx as a reverse proxy to the host
- Host: GitHub
- URL: https://github.com/alvarogarcia7/nginx-reverse-proxy-docker
- Owner: alvarogarcia7
- License: gpl-3.0
- Created: 2018-03-20T11:23:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T11:40:03.000Z (over 7 years ago)
- Last Synced: 2025-01-10T22:49:34.175Z (6 months ago)
- Topics: certificate, dev-environment, dev-environment-setup, dev-setup, dev-tools, docker, gplv3, make, makefile, nginx, reverse-proxy, ssl
- Language: Makefile
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx reverse proxy docker
A Docker setup to use Nginx as a reverse proxy to the host
## How to use it
### Building it
You need to build the docker image, but only the first time
```
make build
```### Running it
```
make run
```On `local.dev` (configure it on /etc/hosts), you will have access to the $HOST_IP port 8080.
## How to extend it
### Host/hostname
Configure the `reverseproxy.conf` file, to change that hostname
### Port
Configure the `reverseproxy.conf` file, to change that port
## A note on security
This is a dev environment, therefore the certificates are self-generated (and published on the repo). **DO NOT** use this same setup for a production environment
## Contributing
This project is open to contributions, please send an issue or a pull request