mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix for wrong oZones reverse proxying for Sunstone
This commit is contained in:
parent
17509ee003
commit
d07e4d42e9
@ -29,8 +29,10 @@ module OZones
|
||||
htaccess << "RewriteRule ^#{vdc.name} " +
|
||||
"#{zone.endpoint} [P]\n"
|
||||
if zone.sunsendpoint != nil
|
||||
htaccess << "RewriteRule ^sunstone_#{vdc.name}/(.+) " +
|
||||
"#{zone.sunsendpoint}/$1 [P]\n"
|
||||
htaccess << "RewriteRule ^sunstone_#{vdc.name} " +
|
||||
"#{zone.sunsendpoint} [P]\n"
|
||||
"#{zone.sunsendpoint}/ [P]\n"
|
||||
end
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user