if we block /archive, we should block the API endpoint it gets its data from too...

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-08-24 20:17:16 +00:00
parent c231d6b389
commit aaaf5845ee

View file

@ -112,6 +112,7 @@ RewriteEngine on
{% if env != 'staging' %}
RewriteRule login / [L,R]
RewriteRule archive /login/ [L,R]
RewriteRule api/paste/recent /login/ [L,R]
{% endif %}
RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]