Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- erver
- {
- server_name .hack.gl;
- access_log /var/log/nginx/hack.gl.access.log;
- error_log /var/log/nginx/hack.gl.error.log;
- root /usr/local/www/nginx/hack.gl/html;
- index index.php index.html index.htm;
- # use fastcgi for all php files
- location ~ \.php$
- {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- # deny access to apache .htaccess files
- location ~ /\.ht
- {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement