Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. worker_processes 1;
  2.  
  3. error_log /dev/null;
  4. pid /var/run/nginx.pid;
  5.  
  6. events {
  7. worker_connections 1024;
  8. }
  9.  
  10. http {
  11. include /etc/nginx/mime.types;
  12. default_type application/octet-stream;
  13. sendfile on;
  14. access_log /dev/null;
  15. keepalive_timeout 3000;
  16. server {
  17. listen 80;
  18. root /www/public;
  19. index index.html index.htm index.php;
  20. server_name localhost;
  21. client_max_body_size 32m;
  22. error_page 500 502 503 504 /50x.html;
  23. location = /50x.html {
  24. root /var/lib/nginx/html;
  25. }
  26. location ~ \.php$ {
  27. fastcgi_pass 127.0.0.1:9000;
  28. fastcgi_index index.php;
  29. include fastcgi.conf;
  30. }
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement