16 lines
466 B
Plaintext
16 lines
466 B
Plaintext
<VirtualHost *:80>
|
|||
|
|
ServerName mydomain.ru
|
||
|
|
ServerAlias mydomain.ru
|
||
|
|
ServerAdmin admin@mydomain.ru
|
||
|
|
DocumentRoot /var/www/site
|
||
|
|
<Directory /var/www/site>
|
||
|
|
Options -Indexes +FollowSymLinks +MultiViews
|
||
|
|
AllowOverride All
|
||
|
|
Require all granted
|
||
|
|
</Directory>
|
||
|
|
<FilesMatch \.php$>
|
||
|
|
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||
|
|
</FilesMatch>
|
||
|
|
ErrorLog ${APACHE_LOG_DIR}/site-error.log
|
||
|
|
CustomLog ${APACHE_LOG_DIR}/site-access.log combined
|
||
|
|
</VirtualHost>
|