Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1.  
  2. worker_processes 8;
  3. user deploy;
  4.  
  5. events {
  6. worker_connections 1024;
  7. }
  8.  
  9. http {
  10. # General Settings
  11. gzip on;
  12. sendfile on;
  13. tcp_nopush on;
  14. tcp_nodelay off;
  15. server_tokens off;
  16. include mime.types;
  17. keepalive_timeout 15;
  18. default_type application/octet-stream;
  19.  
  20. # If we set index here, we won't have to anywhere else
  21. index index.html index.htm index.php;
  22.  
  23. # I prefer nginx to show the errors than "No Input Files Specified"
  24. # If you're using wordpress you want to turn this off so Wordpress
  25. # Shows the error. You can turn it off at the server or location level.
  26. # ONLY works if the server block has error pages defined for 4xx/5xx
  27. # fastcgi_intercept_errors on;
  28.  
  29. # We don't want someone to visit a default site via IP
  30. # So we catch all non-defined Hosts or blank hosts here
  31.  
  32.  
  33. client_max_body_size 64M;
  34.  
  35. # server {
  36. # server_name _;
  37. # return 444;
  38. # }
  39. include sites-enabled/*;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement