File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -29,27 +29,28 @@ LoadModule proxy_module /usr/local/apache2/modules/mod_proxy.so
2929LoadModule proxy_fcgi_module /usr/local/apache2/modules/mod_proxy_fcgi.so
3030
3131<VirtualHost *:8080>
32- # Proxy .php requests to port 9000 of the php-fpm container
33- <FilesMatch \.php$>
34- SetHandler proxy:fcgi://laravel:9000
35- # for Unix sockets, Apache 2.4.10 or higher
36- # SetHandler proxy:unix:/path/to/fpm.sock|fcgi://dummy
37- </FilesMatch>
38-
3932 DocumentRoot /var/www/html
4033 <Directory />
4134 Options FollowSymLinks
4235 AllowOverride None
4336 </Directory>
4437 <Directory /var/www/html>
4538 DirectoryIndex index.php
46- AllowOverride All
47- Order allow,deny
48- Allow from all
49- <IfModule mod_authz_core.c>
50- Require all granted
51- </IfModule>
39+ Options Indexes FollowSymLinks
40+ AllowOverride All
41+ Order allow,deny
42+ Allow from all
43+ <IfModule mod_authz_core.c>
44+ Require all granted
45+ </IfModule>
5246 </Directory>
47+
48+ # Proxy .php requests to port 9000 of the php-fpm container
49+ <FilesMatch \.php$>
50+ SetHandler proxy:fcgi://laravel:9000
51+ # for Unix sockets, Apache 2.4.10 or higher
52+ # SetHandler proxy:unix:/path/to/fpm.sock|fcgi://dummy
53+ </FilesMatch>
5354
5455 # Send apache logs to stdout and stderr
5556 CustomLog /proc/self/fd/1 common
You can’t perform that action at this time.
0 commit comments