mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fix for correct oZones reverse proxy
This commit is contained in:
parent
1943ce6206
commit
abfe53524a
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user