Alias and mod_rewrite mixing doesn't go too well
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
8c918b8f88
commit
4289a2056c
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@ RequestHeader set X-Scheme https early
|
|||
RequestHeader set X-Forwarded-Proto https early
|
||||
ProxyPreserveHost On
|
||||
|
||||
Alias /signatures /srv/web/registry-signatures
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/signatures/(.*) /srv/web/registry-signatures/$1 [L]
|
||||
|
||||
{% if env == "production" %}
|
||||
RewriteCond %{HTTP:VIA} !cdn77
|
||||
RewriteCond %{REQUEST_METHOD} !^(PATCH|POST|PUT|DELETE|HEAD)$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue