From 89350d700d53adc03349699b7ea6da6fa6fde1fa Mon Sep 17 00:00:00 2001 From: Sven Dolderer Date: Tue, 5 Nov 2024 16:13:51 +0100 Subject: [PATCH] set listen port #3581 plus convenient working dir --- sechub-web-ui-solution/docker/Web-UI-Debian.dockerfile | 2 ++ sechub-web-ui-solution/docker/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sechub-web-ui-solution/docker/Web-UI-Debian.dockerfile b/sechub-web-ui-solution/docker/Web-UI-Debian.dockerfile index 3d59ec5f0..df792469d 100644 --- a/sechub-web-ui-solution/docker/Web-UI-Debian.dockerfile +++ b/sechub-web-ui-solution/docker/Web-UI-Debian.dockerfile @@ -127,4 +127,6 @@ RUN touch /var/run/nginx.pid && \ # Switch from root to non-root user USER "$USER" +WORKDIR "$HTDOCS_FOLDER" + CMD ["/run.sh"] diff --git a/sechub-web-ui-solution/docker/nginx.conf b/sechub-web-ui-solution/docker/nginx.conf index 798c341bf..1a471fcaf 100644 --- a/sechub-web-ui-solution/docker/nginx.conf +++ b/sechub-web-ui-solution/docker/nginx.conf @@ -17,7 +17,7 @@ http { types_hash_max_size 2048; server { - listen 8443 ssl http2; + listen 4443 ssl http2; server_name _; root /var/www/html;