Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9758b7e

Browse filesBrowse files
committed
Updated apache2 conf
1 parent e6d344a commit 9758b7e
Copy full SHA for 9758b7e

File tree

Expand file treeCollapse file tree

3 files changed

+16
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+16
-2
lines changed

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+2-1Lines 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

Copy file name to clipboardExpand all lines: bookstack.conf
+1-1Lines 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

Copy file name to clipboard
+13Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.