Skip to content

Nginx + Docker with autoreload on config changes. Great for local development.

License

Notifications You must be signed in to change notification settings

elnygren/docker-nginx-autoreload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-autoreload

Nginx + Docker with autoreload on config changes. Great for local development.


We build a nginx container that uses inotifywait to check for nginx.conf changes.
This allows us to mount the config to the container for easy editing.
Every time you hit save, watcher.sh calls nginx -s reload.

  • To get started:
make build
make start

# or to run in background
make run

About

Nginx + Docker with autoreload on config changes. Great for local development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published