https://github.com/larrycai/codingwithme-nginx
nginx codingwithme code sample include docker
https://github.com/larrycai/codingwithme-nginx
Last synced: 6 months ago
JSON representation
nginx codingwithme code sample include docker
- Host: GitHub
- URL: https://github.com/larrycai/codingwithme-nginx
- Owner: larrycai
- Created: 2014-12-02T07:37:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T07:39:52.000Z (over 10 years ago)
- Last Synced: 2023-03-11T04:48:42.818Z (about 2 years ago)
- Language: Shell
- Size: 134 KB
- Stars: 16
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction ##
this is local development environment for nginx
### docker 1.3+
Inside boot2docker 1.3.x, use shell script$ ./start.sh
You will need to access `nginx` container by
$ docker exec -it nginx bash
### docker <1.3Since `docker exec` is not supported before 1.3 version, we run into nginx container directly
$ ./start-without-exec.sh
root@bd2792b0cedc:/# nginx &## Others
Will be nice to open another shell to track logs$ docker logs -f nginx
## Reference ##* slides: http://www.slideshare.net/larrycai/learn-nginx-in90mins