mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 13:34:28 +08:00
ordering issue on re-write rules
This commit is contained in:
@@ -22,9 +22,9 @@ Listen 443
|
||||
# We can't do this until virt-install can handle https
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE]
|
||||
RewriteCond %{SERVER_PORT} !^443$
|
||||
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
|
||||
RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE]
|
||||
|
||||
# robots location
|
||||
Alias /robots.txt /srv/web/robots.txt.infinote
|
||||
|
||||
Reference in New Issue
Block a user