readme: Added usage
All checks were successful
Build Docker for Release / Build Container ARM (push) Successful in 19s
Build Docker for Release / Build Container AMD (push) Successful in 29s

This commit is contained in:
Nathan Woodburn 2023-09-11 22:13:06 +10:00
parent c9852f487c
commit 3c37b9da62
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -1,2 +1,13 @@
# nginx # nginx
This is a simple nginx container that adds the function to visit pages without needing to add the .html extension. This is a simple nginx container that adds the function to visit pages without needing to add the .html extension.
## Usage
AMD:
```sh
docker run -d -p 80:80 -v /path/to/your/html:/usr/share/nginx/html:ro --name nginx git.woodburn.au/nginx:latest
```
ARM:
```sh
docker run -d -p 80:80 -v /path/to/your/html:/usr/share/nginx/html:ro --name nginx git.woodburn.au/nginx:latest-arm
```