From a4abd2873fb79f456784f8ba482d6d11daeb67dc Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 1 Jun 2025 03:35:36 +0200 Subject: [PATCH] aaaa --- docker-compose.yml | 3 +-- nginx.conf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 95515da..7fc5767 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,7 @@ services: nginx: image: nginx:alpine container_name: website-nginx - ports: - - "8097:80" + network_mode: host volumes: - /opt/docker/Website:/usr/share/nginx/html:ro - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro diff --git a/nginx.conf b/nginx.conf index ed6fca3..ad9a6b2 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 8097; server_name localhost; root /usr/share/nginx/html;