local-nginx-tutorial/eg1
Jason Zhu 29b82981bd Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +10:00
..
Dockerfile Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +10:00
README.md Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +10:00
docker-compose.yaml Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +10:00
index.html Move all example 1 files into eg1 directory 2023-05-02 00:09:29 +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