We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb7416 commit 5732a0cCopy full SHA for 5732a0c
1 file changed
apache/web-frontend.conf
@@ -0,0 +1,26 @@
1
+<VirtualHost *:80>
2
+ ServerName frontend.phplist.local
3
+ ServerAdmin webmaster@localhost
4
+
5
+ DocumentRoot /{pathToTheProject}/web-frontend/public
6
7
+ ErrorLog ${APACHE_LOG_DIR}/web-frontend-error.log
8
+ CustomLog ${APACHE_LOG_DIR}/web-frontend-access.log combined
9
10
+ <Directory /{pathToTheProject}/web-frontend/public>
11
+ Options FollowSymLinks
12
+ AllowOverride All
13
+ Require all granted
14
+ DirectoryIndex app.php
15
+ </Directory>
16
17
+ <FilesMatch "^\.">
18
+ Require all denied
19
+ </FilesMatch>
20
21
+ <IfModule proxy_fcgi_module>
22
+ <FilesMatch \.php$>
23
+ SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"
24
25
+ </IfModule>
26
+</VirtualHost>
0 commit comments