23 Jun '13, 3am

virtual server configuration - Ruby Forum

Hi I'm new to nginx. I'm trying to configure a virtual server. I've created a new server file under sites-enabled like this: server { listen 80; ## listen for ipv4; this line is default and implied server_name blogtest; root /usr/share/nginx/cakephptest/app/webroot; index index.php; location / { # First attempt to serve request as file, then # as directory, then fall back to 404 try_files $uri $uri/ =404; } # PHP FPM location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_intercept_errors on; fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } Is there anything wrong with that? When I type in blogtest/index.php ...

Full article: http://www.ruby-forum.com/topic/4414830

Tweets

Mobile Site Configuration & The Vary HTTP Header

Mobile Site Configuration & The Vary HTTP Header

searchengineland.com 14 Jun '13, 1pm

Maintain your “m.” pages and set up bi-directional annotation . Link the desktop pages to their mobile counterparts with r...

Unicorn 4.6.3: A HTTP Web server for Ruby Rack ...

webscripts.softpedia.com 24 Jun '13, 10am

A HTTP Web server for Ruby Rack applications Unicorn allows developers to deploy and run specific Rack applications. Unico...

Secure your Ruby on Rails from vulnerable Ruby gems

Secure your Ruby on Rails from vulnerable Ruby ...

rubyaudit.com 22 Jun '13, 2pm

Are Old Ruby Gems Opening Security Holes In Your Applications? Do you know if any of the Ruby gems used by your applicatio...