Created
August 1, 2011 20:47
-
-
Save zeroasterisk/1118959 to your computer and use it in GitHub Desktop.
nginx.conf - example cakeapp
This file contains 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
# Example CakePHP App config | |
server { | |
listen 80; | |
server_name domain.com www.domain.com asset.domain.com; | |
access_log /var/log/nginx/domain.access.log main; | |
error_log /var/log/nginx/domain.errors.log info; | |
root /var/www/prod/domain/app/webroot; | |
index index.php index.html index.htm; | |
include standard_location_config_cakephp; | |
rewrite ^/News/.* /articles/ last; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment