From ceb146ff4df7325d6bce4a5e3b3dd6003f96577c Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 14 Aug 2019 02:57:27 +0200 Subject: Change to unprivileged ports --- 2.4/Dockerfile | 2 +- 2.4/conf/sites-available/default-ssl.conf | 4 ++-- 2.4/conf/sites-available/default.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2.4/Dockerfile b/2.4/Dockerfile index 6083e29..98e05e9 100644 --- a/2.4/Dockerfile +++ b/2.4/Dockerfile @@ -50,6 +50,6 @@ RUN set -ex; \ apk add --no-cache openssl COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh -EXPOSE 80/tcp 443/tcp +EXPOSE 8080/tcp 4430/tcp ENTRYPOINT [ "docker-entrypoint.sh" ] CMD [ "httpd-foreground" ] diff --git a/2.4/conf/sites-available/default-ssl.conf b/2.4/conf/sites-available/default-ssl.conf index ef90866..30cb498 100644 --- a/2.4/conf/sites-available/default-ssl.conf +++ b/2.4/conf/sites-available/default-ssl.conf @@ -1,5 +1,5 @@ -Listen 443 - +Listen 4430 + Protocols h2 http/1.1 ServerName localhost DocumentRoot "/var/www/html/" diff --git a/2.4/conf/sites-available/default.conf b/2.4/conf/sites-available/default.conf index e309338..d8e7f67 100644 --- a/2.4/conf/sites-available/default.conf +++ b/2.4/conf/sites-available/default.conf @@ -1,4 +1,4 @@ - + ServerName localhost DocumentRoot "/var/www/html/" -- cgit v1.2.3