Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name localhost;
- access_log /home/whitey/sites/localhost/logs/access.log;
- error_log /home/whitey/sites/localhost/logs/error.log;
- root /home/whitey/sites/localhost/htdocs;
- index index.html index.php /index.php;
- location / {
- }
- location ~ \.php$ {
- fastcgi_pass unix:/tmp/phpfpm.sock;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
- expires max;
- }
- location /RPC2 {
- include scgi_params;
- scgi_pass unix:/tmp/rpc.sock;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement