updated caddyfile

This commit is contained in:
Jack Goh
2018-07-18 16:22:36 +08:00
parent 991c54517d
commit 84d35cc2a4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Docs: https://caddyserver.com/docs/caddyfile
https://exchange-staging.izyim.com {
root /var/www/public
fastcgi / php-fpm:9000 php {
fastcgi / app:8000 php {
index index.php
}
+2 -2
View File
@@ -13,7 +13,7 @@ services:
ports:
- "8000:8000"
volumes:
- .:/var/www:cached
- .:/var/www
env_file: .env
working_dir: /app
depends_on:
@@ -29,7 +29,7 @@ services:
caddy:
build: ./caddy
volumes:
- ./:/var/www:cached
- ./:/var/www
- ./caddy/Caddyfile:/etc/Caddyfile
- ./logs/caddy:/var/log/caddy
- ./data:/root/.caddy