This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteRule !\.(ico|gif|jpg|png|css|js|swf|flv|map|ttf|woff|woff2|svg|min.js) index.php [QSA,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)/(assets|plugins|css|png|img|imgs|js)/(.*) _views/$2/$3 [L,NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ \_views/$1 [NC,L] | |
<Files config.json> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# crowdsec log-rotate config | |
# out this in /etc/logrotate.d/crowdsec | |
# test configuration wit "sudo logrotate --force /etc/logrotate.d/crowdsec" | |
/var/log/crowdsec.log /var/log/crowdsec_api.log { | |
daily | |
rotate 12 | |
compress | |
copytruncate | |
delaycompress |