Created
March 11, 2011 22:07
-
-
Save hobodave/866664 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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