mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-05 01:40:32 +00:00
Compare commits
2 commits
1cf6fc0e19
...
a1a483ffd8
Author | SHA1 | Date | |
---|---|---|---|
a1a483ffd8 | |||
8a89e10152 |
1 changed files with 5 additions and 3 deletions
|
@ -88,7 +88,7 @@ Place these two files:
|
|||
```
|
||||
server {
|
||||
listen 80;
|
||||
server_name nginx0.jinext.xyz;
|
||||
server_name nginxN.jinext.xyz;
|
||||
|
||||
location / {
|
||||
root /volumes/website;
|
||||
|
@ -97,6 +97,8 @@ Place these two files:
|
|||
}
|
||||
```
|
||||
|
||||
Replace `N` also in `server_name`!
|
||||
|
||||
1. `~/nginxN/website/index.html` (replace `N`):
|
||||
|
||||
```
|
||||
|
@ -119,8 +121,8 @@ Create a Nginx container with the following options:
|
|||
- Timezone `tz`: `local`.
|
||||
- Network: `traefik`.
|
||||
- Volumes:
|
||||
- `~/nginx0/website:/volumes/website` with labels `Z,ro`.
|
||||
- `~/nginx0/conf:/etc/nginx/conf.d` with labels `Z,ro`.
|
||||
- `~/nginxN/website:/volumes/website` with labels `Z,ro`.
|
||||
- `~/nginxN/conf:/etc/nginx/conf.d` with labels `Z,ro`.
|
||||
- Label: `io.containers.autoupdate=registry`
|
||||
- Image: `docker.io/library/nginx:alpine`
|
||||
|
||||
|
|
Loading…
Reference in a new issue