lib/rconf/configurators/passenger_configurator.rb in rconf-0.9.24 vs lib/rconf/configurators/passenger_configurator.rb in rconf-0.9.25

- old
+ new

@@ -281,53 +281,53 @@ rewrite ^/library/(.*)$ /direct_library/$1 last; } location /direct_library/ { - proxy_pass http://library.rightscale.local:8080/; + proxy_pass http://library.rightscale.local:3001/; proxy_set_header X-Embedded on; proxy_set_header X-Relative-Root library; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } location /library_rest/ { - proxy_pass http://library.rightscale.local:8080/; + proxy_pass http://library.rightscale.local:3001/; proxy_set_header X-Embedded on; proxy_set_header X-Relative-Root library; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } location /library/publishing_assistant/image_upload_callback/ { - proxy_pass http://library.rightscale.local:8080/publishing_assistant/image_upload_callback/; + proxy_pass http://library.rightscale.local:3001/publishing_assistant/image_upload_callback/; proxy_set_header X-Relative-Root library; proxy_set_header X-Embedded on; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } location ~ ^/library/publishing_organizations/(.+)/image_upload_callback { - proxy_pass http://library.rightscale.local:8080/publishing_organizations/$1/image_upload_callback?$args; + proxy_pass http://library.rightscale.local:3001/publishing_organizations/$1/image_upload_callback?$args; proxy_set_header X-Relative-Root library; proxy_set_header X-Embedded on; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } # library static assets get proxied directly to the library app location ~ ^/library/(.*)\.(css|js)$ { - proxy_pass http://library.rightscale.local:8080/$1.$2; + proxy_pass http://library.rightscale.local:3001/$1.$2; } # Library images are sent straight to the library location /library_images/ { - proxy_pass http://library.rightscale.local:8080/library_images/; + proxy_pass http://library.rightscale.local:3001/library_images/; } location /api/reporting/ { - proxy_pass http://library.rightscale.local:8080/report_service_proxy/; + proxy_pass http://library.rightscale.local:3001/report_service_proxy/; proxy_set_header X-Relative-Root library; proxy_set_header X-Embedded on; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } @@ -369,25 +369,25 @@ rewrite ^/aria_provisioning_callbacks(.*)$ /direct_global/aria_provisioning_callbacks$1 last; } location /direct_global/ { - proxy_pass http://global.rightscale.local:8080/; + proxy_pass http://global.rightscale.local:3001/; proxy_set_header X-Embedded on; proxy_set_header X-Relative-Root global/; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } location /global_rest/ { - proxy_pass http://global.rightscale.local:8080/; + proxy_pass http://global.rightscale.local:3001/; proxy_set_header X-Relative-Root global/; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } location ~ ^/global/users/(.+)/openid_consume { - proxy_pass http://global.rightscale.local:8080/users/$1/openid_consume?$args; + proxy_pass http://global.rightscale.local:3001/users/$1/openid_consume?$args; proxy_set_header X-Relative-Root global; proxy_set_header X-Embedded on; proxy_set_header X-Core-Site-Domain 'right-site.rightscale.local'; } }