mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Fix for correct oZones reverse proxy
This commit is contained in:
1 parent
1943ce6206
commit
abfe53524a
1 file changed
+2
-2
@@ -31,10 +31,10 @@ module OZones
|
||||
|
||||
OZones::Zones.all.each{|zone|
|
||||
zone.vdcs.all.each{|vdc|
|
||||
htaccess << "RewriteRule ^(.*)/#{vdc.name} " +
|
||||
htaccess << "RewriteRule ^#{vdc.name} " +
|
||||
"#{zone.endpoint} [P]\n"
|
||||
if zone.sunsendpoint != nil
|
||||
htaccess << "RewriteRule ^(.*)/sunstone_#{vdc.name} " +
|
||||
htaccess << "RewriteRule ^sunstone_#{vdc.name} " +
|
||||
"#{zone.sunsendpoint} [P]\n"
|
||||
end
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user