This commit is contained in:
2025-06-01 03:35:36 +02:00
parent d8b4bc33da
commit a4abd2873f
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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;