mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Fix for wrong oZones reverse proxying for Sunstone
This commit is contained in:
1 parent
17509ee003
commit
d07e4d42e9
1 file changed
+3
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user