Last active
August 29, 2015 14:02
-
-
Save indapublic/c73278934208846fc8bb 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 localhost; | |
root /var/www/default/; | |
access_log /var/log/nginx/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} | |
location = /info { | |
allow 127.0.0.1; | |
deny all; | |
rewrite (.*) /.info.php | |
} | |
error_page 404 /404.html; | |
error_page 403 /403.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment