Whitespace.
This commit is contained in:
parent
3098a79758
commit
a398ff8bc1
1 changed files with 4 additions and 0 deletions
|
@ -5,20 +5,24 @@ RewriteEngine on
|
|||
|
||||
RewriteMap lowercase int:tolower
|
||||
|
||||
|
||||
{% if env == "staging" %}
|
||||
RewriteCond ${lowercase:%{SERVER_NAME}} ^[a-z0-9-]+\.id\.stg\.fedoraproject\.org$
|
||||
{% else %}
|
||||
RewriteCond ${lowercase:%{SERVER_NAME}} ^[a-z0-9-]+\.id\.fedoraproject\.org$
|
||||
{% endif %}
|
||||
|
||||
|
||||
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]
|
||||
|
||||
|
||||
{% if env == "staging" %}
|
||||
RewriteRule ^([a-z0-9-]+)\.id\.stg\.fedoraproject\.org/.* {{proxyurl}}/openid/id/$1/ [P,L]
|
||||
{% else %}
|
||||
RewriteRule ^([a-z0-9-]+)\.id\.fedoraproject\.org/.* {{proxyurl}}/openid/id/$1/ [P]
|
||||
{% endif %}
|
||||
|
||||
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue