Update apache config
parent
af96112478
commit
fdb7ac81b3
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
|
ServerAlias api-test
|
||||||
DocumentRoot /opt/ogdhcp/public
|
DocumentRoot /opt/ogdhcp/public
|
||||||
|
|
||||||
<Directory /opt/ogdhcp/public>
|
<Directory /opt/ogdhcp/public>
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<FilesMatch \.php$>
|
<FilesMatch \.php$>
|
||||||
SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost/"
|
SetHandler "proxy:unix:/run/php/php8.3-fpm.sock|fcgi://localhost/"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/ogdhcp_error.log
|
ErrorLog ${APACHE_LOG_DIR}/ogdhcp_error.log
|
||||||
|
|
Loading…
Reference in New Issue