aaaa
This commit is contained in:
@@ -4,8 +4,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: website-nginx
|
container_name: website-nginx
|
||||||
ports:
|
network_mode: host
|
||||||
- "8097:80"
|
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/docker/Website:/usr/share/nginx/html:ro
|
- /opt/docker/Website:/usr/share/nginx/html:ro
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 8097;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|||||||
Reference in New Issue
Block a user