File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
6666 $ nginx ['image ' ] = array ( 'name ' => 'easyengine/nginx ' );
6767 $ nginx ['depends_on ' ] = array ( 'name ' => 'php ' );
6868 $ nginx ['restart ' ] = $ restart_default ;
69- $ v_host = in_array ( 'wpsubdom ' , $ filters ) ? 'VIRTUAL_HOST=${VIRTUAL_HOST}, HostRegexp:{subdomain:.+}.${VIRTUAL_HOST} ' : '${VIRTUAL_HOST} ' ;
69+ $ v_host = in_array ( 'wpsubdom ' , $ filters ) ? 'HostRegexp:{subdomain:.+}.${VIRTUAL_HOST},${VIRTUAL_HOST} ' : 'Host: ${VIRTUAL_HOST} ' ;
7070
7171 $ nginx ['labels ' ] = array (
7272 'label ' => array (
@@ -75,7 +75,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
7575 array ( 'name ' => 'traefik.protocol=http ' ),
7676 array ( 'name ' => 'traefik.docker.network=site-network ' ),
7777 array ( 'name ' => "traefik.frontend.entryPoints= $ frontend_entrypoints " ),
78- array ( 'name ' => "traefik.frontend.rule=Host: $ v_host " ),
78+ array ( 'name ' => "traefik.frontend.rule= $ v_host " ),
7979 ),
8080 );
8181 $ nginx ['volumes ' ] = array (
You can’t perform that action at this time.
0 commit comments