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:
parent
c231d6b389
commit
aaaf5845ee
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue