Skip to content

Jarryxu/codingwithme-nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.3

Since 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

About

nginx codingwithme code sample include docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%