lib/rconf/configurators/passenger_configurator.rb in rconf-0.7.11 vs lib/rconf/configurators/passenger_configurator.rb in rconf-0.7.12
- old
+ new
@@ -141,10 +141,11 @@
"\nThe following aliases may help too:\n" +
"alias nrestart='kill -HUP `cat #{pid_path}/nginx.pid`'\n" +
"alias nstart='#{install_path}/sbin/nginx'\n" +
"alias nstop='#{install_path}/sbin/nginx -s stop'"
end
+ post_note (post_note || '') + "\nNow open http://right-site.rightscale.local:3000 in your browser"
File.delete(File.join(ruby_dir, 'rake')) unless rake_exist
report_success
end
# Hosts entry in /etc/hosts
@@ -208,11 +209,11 @@
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
server {
ssi on;
- listen 8080;
+ listen 3000;
server_name right-site.rightscale.local;
root #{File.join(right_site_src_path, 'public')};
passenger_enabled on;
rails_env development;
@@ -268,45 +269,45 @@
}
#####################################################################
location /direct_library/
{
- proxy_pass http://library.rightscale.local:8081/;
+ proxy_pass http://library.rightscale.local:3001/;
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/users/(.+)/openid_consume
{
- proxy_pass http://library.rightscale.local:8081/users/$1/openid_consume?$args;
+ proxy_pass http://library.rightscale.local:3001/users/$1/openid_consume?$args;
proxy_set_header X-Relative-Root library;
proxy_set_header X-Embedded on;
}
location ~ ^/library/(.*).(css|js)
{
# library assets get proxied directly to the library app
- proxy_pass http://library.rightscale.local:8081/$1.$2;
+ proxy_pass http://library.rightscale.local:3001/$1.$2;
}
location /library_images/
{
- proxy_pass http://library.rightscale.local:8081/library_images/;
+ proxy_pass http://library.rightscale.local:3001/library_images/;
}
location /library_rest/
{
- proxy_pass http://127.0.0.1:87/;
+ proxy_pass http://127.0.0.1:3001/;
proxy_set_header X-Relative-Root library;
proxy_set_header X-Core-Site-Domain right-site.rightscale.local;
}
}
server {
ssi on;
- listen 8081;
+ listen 3001;
server_name library.rightscale.local;
root #{library_src_path}/public;
passenger_enabled on;
rails_env development;
}