summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-14 02:57:27 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-14 02:57:27 +0200
commitceb146ff4df7325d6bce4a5e3b3dd6003f96577c (patch)
tree8d9d4a3275e6fa7569e4ecf8025643a5b550cc3b
parent801daf3cc929be308555c0267a6e6a885594bed2 (diff)
downloadapache-ceb146ff4df7325d6bce4a5e3b3dd6003f96577c.tar.gz
apache-ceb146ff4df7325d6bce4a5e3b3dd6003f96577c.tar.bz2
apache-ceb146ff4df7325d6bce4a5e3b3dd6003f96577c.tar.xz
apache-ceb146ff4df7325d6bce4a5e3b3dd6003f96577c.zip
Change to unprivileged ports
-rw-r--r--2.4/Dockerfile2
-rw-r--r--2.4/conf/sites-available/default-ssl.conf4
-rw-r--r--2.4/conf/sites-available/default.conf2
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
-<VirtualHost *:443>
+Listen 4430
+<VirtualHost *: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 @@
-<VirtualHost *:80>
+<VirtualHost *:8080>
ServerName localhost
DocumentRoot "/var/www/html/"
<Directory "/var/www/html/">