Skip to content

Commit

Permalink
Docker: remove default Apache site
Browse files Browse the repository at this point in the history
  • Loading branch information
Boldewyn committed Feb 28, 2024
1 parent 9abd41a commit 574b36b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN apt-get update && \
a2enmod proxy && \
a2enmod proxy_http && \
a2enmod proxy_wstunnel && \
a2ensite httpd
a2ensite httpd && \
a2dissite 000-default

# do not write access log to stdout
RUN rm /var/log/apache2/access.log /var/log/apache2/other_vhosts_access.log
2 changes: 1 addition & 1 deletion ops/apache2/local-confs/codepoints.net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

DocumentRoot "/var/www/codepoints.net"
ServerName codepoints.net
ServerAlias www.codepoints.net codepoints-live
ServerAlias www.codepoints.net codepoints-live codepoints.next
<Directory /var/www/codepoints.net/>
AllowOverride None
Require all granted
Expand Down

0 comments on commit 574b36b

Please sign in to comment.