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