Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
b23prodtm committed Feb 21, 2021
1 parent 3bddfeb commit 8de31c8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ ENV PGID ${PGID:-0}
# Must own the ip address
ARG HTTPD_LISTEN
ENV HTTPD_LISTEN ${HTTPD_LISTEN:-'*:80'}
ARG SSL_PORT
ENV SSL_PORT ${SSL_PORT:-'443'}
ARG HTTPD_LISTEN_SSL
ENV HTTPD_LISTEN_SSL ${HTTPD_LISTEN_SSL:-'*:443'}
# Enable migrate-database.sh options
ARG MIGRATE_OPTION
ENV MIGRATE_OPTION ${MIGRATE_OPTION:-'-v'}
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ ENV PGID ${PGID:-0}
# Must own the ip address
ARG HTTPD_LISTEN
ENV HTTPD_LISTEN ${HTTPD_LISTEN:-'*:80'}
ARG SSL_PORT
ENV SSL_PORT ${SSL_PORT:-'443'}
ARG HTTPD_LISTEN_SSL
ENV HTTPD_LISTEN_SSL ${HTTPD_LISTEN_SSL:-'*:443'}
# Enable migrate-database.sh options
ARG MIGRATE_OPTION
ENV MIGRATE_OPTION ${MIGRATE_OPTION:-'-v'}
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ ENV PGID ${PGID:-0}
# Must own the ip address
ARG HTTPD_LISTEN
ENV HTTPD_LISTEN ${HTTPD_LISTEN:-'*:80'}
ARG SSL_PORT
ENV SSL_PORT ${SSL_PORT:-'443'}
ARG HTTPD_LISTEN_SSL
ENV HTTPD_LISTEN_SSL ${HTTPD_LISTEN_SSL:-'*:443'}
# Enable migrate-database.sh options
ARG MIGRATE_OPTION
ENV MIGRATE_OPTION ${MIGRATE_OPTION:-'-v'}
Expand Down
6 changes: 3 additions & 3 deletions etc/apache2/ssl_site.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<VirtualHost ${HTTPD_LISTEN/:80/:443}>
<VirtualHost ${HTTPD_LISTEN_SSL}>
DocumentRoot ${WWW}
ServerAdmin webmaster@${SERVER_NAME}
ServerName ${SERVER_NAME}:443
ServerAlias www.${SERVER_NAME}:443
ServerName ${SERVER_NAME}:${SSL_PORT}
ServerAlias www.${SERVER_NAME}:${SSL_PORT}
<Directory \"${WWW}\">
DirectoryIndex index.php
Options +FollowSymLinks
Expand Down

0 comments on commit 8de31c8

Please sign in to comment.