From 5e8a6ab7dbf23f8a9cceb43defe38568b93f7408 Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 17 Dec 2024 18:54:43 +0100 Subject: [PATCH] Container: update nginx config --- Containerfile | 1 + nginx.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index a20a286..deb20e7 100644 --- a/Containerfile +++ b/Containerfile @@ -1,3 +1,4 @@ +# Build: podman build -t code.philo.ydns.eu/philorg/gisaf-frontend -f Containerfile FROM docker.io/library/nginx:alpine EXPOSE 80 diff --git a/nginx.conf b/nginx.conf index 87c9616..e2695a8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,14 +25,14 @@ http { server { - listen 8899; + listen 80 default_server; + listen [::]:80 default_server; gzip on; gzip_types text/plain application/xml; gzip_proxied no-cache no-store private expired auth; gzip_min_length 1000; - server_name localhost; charset utf-8; client_max_body_size 4G;