Added mod_rewrite for nginx module
This commit is contained in:
20
cms/drupal/site5.conf
Normal file
20
cms/drupal/site5.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot "/sites/site5"
|
||||
ServerName example5.com
|
||||
ErrorLog logs/site5.log
|
||||
|
||||
DirectoryIndex index.php
|
||||
|
||||
<Directory /sites/site5>
|
||||
Options +Indexes +FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
<FilesMatch "^\.htaccess$">
|
||||
Require all granted
|
||||
</FilesMatch>
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
|
||||
</FilesMatch>
|
||||
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user