Here is a practice repo for initiate a nginx container for static page serving or reverse proxy
 
 
 
Go to file
Jason Zhu 0bc19e6808 Change index.html of nginx and serve it (part 2) 2023-05-02 00:00:48 +10:00
Dockerfile Change index.html of nginx and serve it 2023-05-02 00:00:28 +10:00
README.md Change index.html of nginx and serve it (part 2) 2023-05-02 00:00:48 +10:00
docker-compose.yaml Change index.html of nginx and serve it 2023-05-02 00:00:28 +10:00
index.html Change index.html of nginx and serve it 2023-05-02 00:00:28 +10:00

README.md

README

This is a practise repo for learning how to run nginx docker for serving:

  • static content
  • 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