1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00
date-poll-api/doc/apache2/dev_php_fpm.conf

27 lines
874 B
Plaintext
Raw Normal View History

2021-04-30 22:23:34 +02:00
<VirtualHost *:80>
ServerName tktest.lan
ServerAlias www.tktest.lan
AddHandler php7-fcgi .php
Action php7-fcgi /php7-fcgi
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -host 127.0.0.1:9000 -pass-header Authorization
DocumentRoot /var/www/html/date-poll-api/public
<Directory /var/www/html/date-poll-api/public>
# enable the .htaccess rewrites
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeeScript assets
# <Directory /var/www/project>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/tktest_error.log
CustomLog /var/log/apache2/tktest_access.log combined
</VirtualHost>