Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.
server {
listen 80 default;
server_name .clockingit.com;
client_max_body_size 50M;
access_log logs/clockingit.log main;
location ^~ /store {
internal;
root /usr/local/www/apps/clockingit/releases/git;
}
location ~* ^.+\.(jpg|jpeg|gif|png|css|js|ico|swf)$ {
root /usr/local/www/apps/clockingit/current/public;
expires 30d;
}
location ~* ^.+\.(jpg|jpeg|gif|png|css|js|ico|swf)\?\d+$ {
root /usr/local/www/apps/clockingit/current/public;
expires 30d;
}
location / {
proxy_pass http://cit;
include proxy.conf;
}
location ~ /\.ht {
deny all;
}
}
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 50m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
rake db:migrate
rake asset:packager:build_all
rake locale:restoreruby ./setup.rb
#-------------------- Push Server Configuration ---------------------------#
#This is the port that the push server will be on.
PUSH_PORT: "443"
#This is the host that the push server will be on.
#Usually it would be 0.0.0.0
PUSH_HOST: "0.0.0.0"
#This should be the url as seen from the browser.
#Flash's xmlsocket can only connect to addresses in the same domain
#or subdomain. For example, if people access your app from www.test.com than this
#should be "test". Omit the port number and the 'http://'.
PUSH_HELPER_HOST: "rb.website.com"
#This is a 'secret' send by the broadcaster to validate identity.
PUSH_SECRET: "cit57asdasdasd"
#This must be the host that your crossdomain policy is located at
CROSSDOMAIN: "xmlsocket://rb.website.com:443"
#Allow crossdomain requests from where?
ALLOW_CROSSDOMAIN: "*.website.com"
nohup ruby ./script/push_server.rb
nohup ruby ./script/push_server & note the missing & at the end.new Juggernaut({ host:'subdomain.clockingit.com', port: 1863,....
git checkout db/schema.rb
git pull
rake db:migrate
rake asset:packager:build_all
./script/console
rake db:migrate RAILS_ENV=production
telnet projects.egefcu.org 3001 from the machine you're trying to browse with?ps aux | grep push_server
kill -9 <process number from previous command>
ruby ./script/push_server1 to 45 of 45