We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4f46c commit f6169e0Copy full SHA for f6169e0
docker-compose.yml
@@ -8,7 +8,7 @@ services:
8
dockerfile: app.dockerfile
9
working_dir: /var/www
10
volumes:
11
- - ./:/var/www
+ - ./public:/var/www
12
- ./php.ini:/usr/local/etc/php/php.ini
13
environment:
14
- "DB_PORT=3306"
public/index.php
@@ -0,0 +1,3 @@
1
+<?php
2
+ echo "Hello!";
3
+?>
public/phpinfo.php
+ phpinfo();
vhost.conf
@@ -1,7 +1,7 @@
server {
listen 80;
index index.php index.html;
4
- root /var/www/public;
+ root /var/www/;
5
6
location / {
7
try_files $uri /index.php?$args;
0 commit comments