ordering issue on re-write rules
This commit is contained in:
parent
13d12ecb32
commit
bacf3cbafd
1 changed files with 1 additions and 1 deletions
|
@ -22,9 +22,9 @@ Listen 443
|
||||||
# We can't do this until virt-install can handle https
|
# We can't do this until virt-install can handle https
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE]
|
||||||
RewriteCond %{SERVER_PORT} !^443$
|
RewriteCond %{SERVER_PORT} !^443$
|
||||||
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
|
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
|
||||||
RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE]
|
|
||||||
|
|
||||||
# robots location
|
# robots location
|
||||||
Alias /robots.txt /srv/web/robots.txt.infinote
|
Alias /robots.txt /srv/web/robots.txt.infinote
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue