Skip to content

Commit 2c35e60

Browse files
committed
Update webroot to htdocs
1 parent 5e22707 commit 2c35e60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Site_Docker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
4747
$php['volumes'] = array(
4848
array(
4949
'vol' => array(
50-
array( 'name' => './app/src:/var/www/html' ),
50+
array( 'name' => './app/src:/var/www/htdocs' ),
5151
array( 'name' => './config/php-fpm/php.ini:/usr/local/etc/php/php.ini' ),
5252
),
5353
),
@@ -82,7 +82,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
8282
);
8383
$nginx['volumes'] = array(
8484
'vol' => array(
85-
array( 'name' => './app/src:/var/www/html' ),
85+
array( 'name' => './app/src:/var/www/htdocs' ),
8686
array( 'name' => './config/nginx/default.conf:/etc/nginx/conf.d/default.conf' ),
8787
array( 'name' => './logs/nginx:/var/log/nginx' ),
8888
array( 'name' => './config/nginx/common:/usr/local/openresty/nginx/conf/common' ),

templates/config/nginx/default.conf.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server {
55
access_log /var/log/nginx/access.log;
66
error_log /var/log/nginx/error.log;
77
8-
root /var/www/html;
8+
root /var/www/htdocs;
99
1010
server_name {{server_name}};
1111

0 commit comments

Comments
 (0)