Skip to content

Instantly share code, notes, and snippets.

@hobodave
Created March 11, 2011 22:07
Show Gist options
  • Select an option

  • Save hobodave/866664 to your computer and use it in GitHub Desktop.

Select an option

Save hobodave/866664 to your computer and use it in GitHub Desktop.
127.0.0.1 - - [11/Mar/2011:16:04:44 -0600] "GET /index/change-company?changecompany=1&to_child=&to_parent=1187&change_company_id=1 HTTP/1.1" 200 126 "-" "Mozilla/5.0"
server {
listen 80;
server_name s4.local ~^(?<d>\w+)\.s4\.local$;
server_name_in_redirect off;
error_log /opt/local/var/log/nginx/s4.log debug;
root /Library/WebServer/Documents/$d;
index bootstrap.php;
location / {
try_files $uri $uri/ bootstrap.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9001;
fastcgi_index bootstrap.php;
fastcgi_param APPLICATION_ENV development;
fastcgi_param CUSTOMER $d;
fastcgi_param SCRIPT_FILENAME $document_root/bootstrap.php;
fastcgi_read_timeout 300;
include fastcgi.conf;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment