Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
ADD: Apache virtualhost disclaimer for PHP-fpm proxying
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoguido committed Apr 21, 2020
1 parent 91ba304 commit 8855d92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/http/apache/virtualhosts/httpd-vhosts.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# The Alias directive can be useful to map a BE to the
# same domain of the FE in order to avoid CORS issues

# IMPORTANT: if you want to serve a subfolder of /src,
# append the path to the ProxyPassMatch directive, too

<VirtualHost *:80>
# Proxy .php requests to port 9000 of the php-fpm container
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://php:9000/var/www/html/$1
Expand Down

0 comments on commit 8855d92

Please sign in to comment.