Skip to content
Snippets Groups Projects

Draft: Improve apache configuration

Open Vasvi Sharma requested to merge 20-improve-apache-configuration into master
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
@@ -19,3 +19,14 @@
deny from all
</Files>
#Limit type of files that are served from wp-content
<Directory "/opt/app-root/src/wp-content">
<FilesMatch "\.(php|html|htm|css|js|jpg|jpeg|png|gif|ico|svg|woff|woff2|ttf|eot|otf|pdf|doc|docx|xls|xlsx|ppt|pptx)$">
SetHandler default-handler
</FilesMatch>
<FilesMatch ".*">
Require all denied
</FilesMatch>
</Directory>
Loading