Commit f7bd9113 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

fluxbb: fix rate limitting for feeds

The location block should also execute PHP otherwise we will just reply
with PHP files.
parent 4a382368
......@@ -35,6 +35,11 @@ server {
location ~ /extern\.php {
limit_req zone=rsslimit burst=10 nodelay;
fastcgi_pass unix:/run/php-fpm/fluxbb.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS on;
include fastcgi_params;
location ~ ^/(?:config|header|footer)\.php {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment