Advertisement
jpenguin

nginx.conf

Nov 19th, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. worker_processes 1;
  2.  
  3. error_log /usr/local/etc/nginx/logs/error.log debug;
  4.  
  5. events {
  6. worker_connections 1024;
  7. }
  8.  
  9. http {
  10. include mime.types;
  11. default_type application/octet-stream;
  12.  
  13. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  14. '$status $body_bytes_sent "$http_referer" '
  15. '"$http_user_agent" "$http_x_forwarded_for"';
  16.  
  17. access_log /usr/local/etc/nginx/logs/access.log main;
  18.  
  19. sendfile on;
  20.  
  21. keepalive_timeout 65;
  22.  
  23. index index.html index.php;
  24.  
  25. include /usr/local/etc/nginx/sites-enabled/*;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement