8000 Updated apache2 conf · pacroy/docker-bookstack@9758b7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9758b7e

Browse files
committed
Updated apache2 conf
1 parent e6d344a commit 9758b7e

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
2222

2323
COPY php.ini /usr/local/etc/php/php.ini
2424
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
25+
COPY ports.conf /etc/apache2/ports.conf
2526
RUN a2enmod rewrite
2627

2728
COPY docker-entrypoint.sh /
2829

2930
WORKDIR $BOOKSTACK_HOME
3031

31-
EXPOSE 80
32+
EXPOSE 8080
3233

3334
VOLUME ["$BOOKSTACK_HOME/public/uploads","$BOOKSTACK_HOME/public/storage"]
3435

bookstack.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<VirtualHost *:80>
1+
<VirtualHost *:8080>
22
ServerName bookstack.dev
33
DocumentRoot "/var/www/bookstack/public/"
44

ports.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# If you just change the port or add more ports here, you will likely also
2+
# have to change the VirtualHost statement in
3+
# /etc/apache2/sites-enabled/000-default.conf
4+
5+
Listen 8080
6+
7+
<IfModule ssl_module>
8+
Listen 8443
9+
</IfModule>
10+
11+
<IfModule mod_gnutls.c>
12+
Listen 8443
13+
</IfModule>

0 commit comments

Comments
 (0)
0