Created
March 10, 2011 23:36
-
-
Save hobodave/865185 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
| server { | |
| listen 80; | |
| server_name s4.local ~^(?<d>\w+)\.s4\.local$; | |
| server_name_in_redirect off; | |
| root /Library/WebServer/Documents/$d; | |
| index bootstrap.php; | |
| 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_read_timeout 300; | |
| include fastcgi.conf; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment