https://github.com/oanhnn/example-nginx-proxy-auto-ssl
:+1: An example for setting auto proxy and auto setup SSL with NGINX
https://github.com/oanhnn/example-nginx-proxy-auto-ssl
auto-ssl docker docker-compose example nginx-proxy
Last synced: 2 months ago
JSON representation
:+1: An example for setting auto proxy and auto setup SSL with NGINX
- Host: GitHub
- URL: https://github.com/oanhnn/example-nginx-proxy-auto-ssl
- Owner: oanhnn
- License: mit
- Created: 2019-01-17T09:28:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T09:29:12.000Z (over 3 years ago)
- Last Synced: 2025-04-09T20:48:14.601Z (12 months ago)
- Topics: auto-ssl, docker, docker-compose, example, nginx-proxy
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oanhnn/example-nginx-proxy-auto-ssl
An example for setting auto proxy and auto setup SSL with NGINX
- [x] Using `ghcr.io/nginx-proxy/nginx-proxy:alpine` to auto proxy
- [x] Using `ghcr.io/nginx-proxy/acme-companion` to auto get SSL
## Refs
- https://github.com/nginx-proxy/nginx-proxy
- https://github.com/nginx-proxy/acme-companion
- http://jasonwilder.com/blog/2014/03/25/automated-nginx-reverse-proxy-for-docker/
## Requirements
- Docker Engine 19.03.0+
- Docker Compose 1.27.0+ (Docker Compose Plugin)
## Usage
- Launch the `nginx-proxy` stack in detached mode with:
```bash
$ docker compose up -d
```
- Create a service in `reverse-proxy` docker network like example service
```bash
$ cd example-svc
$ docker compose up -d
```
- Now your service was lauch and proxy with SSL.
## Contributing
All code contributions must go through a pull request and approved by a core developer before being merged.
This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
If you would like to help take a look at the [list of issues](https://github.com/oanhnn/example-nginx-proxy-auto-ssl/issues).
## License
This project is released under the MIT License.
Copyright © 2022 [Oanh Nguyen](https://github.com/oanhnn)
Please see [License File](https://github.com/oanhnn/example-nginx-proxy-auto-ssl/blob/master/LICENSE) for more information.