Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bohanyang/docker-sb-nginx
Docker image for nginx.io (sb-nginx) which supports Brotli, TLS 1.3, GeoIP2, etc.
https://github.com/bohanyang/docker-sb-nginx
docker-image nginx
Last synced: about 12 hours ago
JSON representation
Docker image for nginx.io (sb-nginx) which supports Brotli, TLS 1.3, GeoIP2, etc.
- Host: GitHub
- URL: https://github.com/bohanyang/docker-sb-nginx
- Owner: bohanyang
- License: unlicense
- Created: 2019-01-27T14:28:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-09T23:33:23.000Z (almost 3 years ago)
- Last Synced: 2023-03-10T04:37:32.173Z (over 1 year ago)
- Topics: docker-image, nginx
- Language: Shell
- Homepage: https://nginx.io
- Size: 31.3 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker image for [nginx.io](https://nginx.io/)
[![](https://dockeri.co/image/bohan/sb-nginx)](https://hub.docker.com/r/bohan/sb-nginx)
[nginx.io](https://nginx.io/) (sb-nginx) is a Debian package by [SB Professional Services](https://www.sb/) / [xTom](https://xtom.com/) offering a nginx build supports:
* Brotli compression
* OpenSSL 3.0.0 with TLS 1.3 support
* GeoIP2## **Awesome** Usage
Put your config files (`nginx.conf` etc.) inside a folder, for example: `~/nginx-config`.
Then `run` the container:
docker run --name nginx --net host --restart always -v $HOME/nginx-config:/usr/src/docker-nginx/conf:ro -d bohan/sb-nginx
You **must** mount the config dir to this specific `/usr/src/docker-nginx/conf` path!
Your existing config files will **replace** default config files.
### Reload Changed Configuration
You can even change your configuration after the container start and apply them without any downtime.
After change, run the command:
docker exec nginx docker-nginx-reload.sh
This `docker-nginx-reload.sh` script will test your new configuration and reload the server. It will rollback if the test fails.