Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. user www-data;
  2. worker_process 4;
  3. pid /run/nginx.pid;
  4.  
  5. events {
  6. worker_connections 768;
  7. }
  8.  
  9. http {
  10. sendfile on;
  11. tcp_nopush on;
  12. tcp_nodelay on;
  13. keepalive_timeout 65;
  14. types_hash_max_size 2048;
  15.  
  16. include /etc/nginx/mime.types;
  17. default_type application/octet-stream;
  18.  
  19. access_log /var/log/nginx/access.log;
  20. error_log /var/log/nginx/error.log;
  21.  
  22. gzip on;
  23. gzip_disable "msie6";
  24.  
  25. include /etc/nginx/conf.d/*.conf;
  26. include /etc/nginx/sites-enabled/*;
  27.  
  28. upstream appdomain.org {
  29. server s1.appdomain.org;
  30. server s2.appdomain.org;
  31. }
  32.  
  33. server {
  34. listen 80;
  35. location / {
  36. proxy_pass http://appdomain.org;
  37. }
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement