Skip to content

Commit

Permalink
#55 - Make http://localhost load dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed May 27, 2022
1 parent b857a45 commit 0b3dd3c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
labels:
- "traefik.enable=true"
# Routers
- "traefik.http.routers.joomlatools-server.rule=HostRegexp(`{name:(.*)}.test`)"
- "traefik.http.routers.joomlatools-server.rule=HostRegexp(`{name:(.*)}.test`) || Host(`localhost`)"
# Services
- "traefik.http.services.joomlatools-server.loadbalancer.server.port=80"
volumes:
Expand Down
19 changes: 19 additions & 0 deletions sites/dashboard/config/apache/server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<VirtualHost *:80>

DocumentRoot ${APP_ROOT}/sites/dashboard

use vhost
use site

</VirtualHost>

<VirtualHost *:443>

use ssl default

DocumentRoot ${APP_ROOT}/sites/dashboard

use vhost
use site

</VirtualHost>

0 comments on commit 0b3dd3c

Please sign in to comment.