Compare commits

..

2 Commits

Author SHA1 Message Date
Jason Zhu 81bbac260c Re-arrange README files 2023-05-02 00:18:00 +10:00
Jason Zhu 29b82981bd Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +10:00
5 changed files with 14 additions and 10 deletions

View File

@ -1,14 +1,6 @@
# README # README
This is a practise repo for learning how to run nginx docker for serving: 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 * reverse proxy of other services
* etc
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

12
eg1/README.md 100644
View File

@ -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