Compare commits
2 Commits
0bc19e6808
...
81bbac260c
Author | SHA1 | Date |
---|---|---|
Jason Zhu | 81bbac260c | |
Jason Zhu | 29b82981bd |
12
README.md
12
README.md
|
@ -1,14 +1,6 @@
|
|||
# README
|
||||
|
||||
This is a practise repo for learning how to run nginx docker for serving:
|
||||
* static content
|
||||
* static content from different directories
|
||||
* reverse proxy of other services
|
||||
|
||||
How to run nginx docker container:
|
||||
|
||||
```
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
* As we use docker-compose.yaml, it's easy to build image and spawn up container in this way
|
||||
* etc
|
|
@ -0,0 +1,12 @@
|
|||
# README
|
||||
|
||||
In this example 1, we implemented a nginx container, which has index.html changed to our own customized index
|
||||
|
||||
How to run nginx docker container:
|
||||
|
||||
```
|
||||
docker-compose build
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
* As we use docker-compose.yaml, it's easy to build image and spawn up container in this way
|
Loading…
Reference in New Issue