Add Apache vhost config for deployment (rss-feed.local)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName rss-feed.local
|
||||
ServerAlias www.rss-feed.local
|
||||
DocumentRoot /var/www/RSS-Feed
|
||||
|
||||
<Directory /var/www/RSS-Feed>
|
||||
Options -Indexes +FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
DirectoryIndex index.php index.html
|
||||
|
||||
<FilesMatch "^(composer\.(json|lock|phar)|\.gitignore)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/rss-feed-error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/rss-feed-access.log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user