mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
added public folder to caddy
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
https://exchange-staging.izyim.com {
|
||||
root /var/www/public
|
||||
root /app/public
|
||||
fastcgi / 127.0.0.1:8000 php {
|
||||
index index.php
|
||||
}
|
||||
|
||||
+2
-1
@@ -10,8 +10,9 @@ RUN curl --silent --show-error --fail --location \
|
||||
&& /usr/bin/caddy -version \
|
||||
&& docker-php-ext-install mbstring pdo pdo_mysql
|
||||
|
||||
ADD . /var/www
|
||||
COPY Caddyfile /etc/Caddyfile
|
||||
|
||||
WORKDIR /var/www/public
|
||||
WORKDIR /var/www
|
||||
|
||||
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]
|
||||
Reference in New Issue
Block a user