Guest User

FilimoniC

a guest
Jan 24th, 2009
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1.  
  2. #user nobody;
  3. worker_processes 1;
  4.  
  5. #error_log logs/error.log;
  6. #error_log logs/error.log notice;
  7. #error_log logs/error.log info;
  8.  
  9. #pid logs/nginx.pid;
  10.  
  11.  
  12. events {
  13. worker_connections 64;
  14. }
  15.  
  16.  
  17. http {
  18. include mime.types;
  19. default_type application/octet-stream;
  20.  
  21. log_format main '$remote_addr - $remote_user [$time_local] $request '
  22. '"$status" $body_bytes_sent "$http_referer" '
  23. '"$http_user_agent" "$http_x_forwarded_for"';
  24.  
  25. access_log logs/access.log main;
  26.  
  27. sendfile on;
  28. #tcp_nopush on;
  29.  
  30. #keepalive_timeout 0;
  31. keepalive_timeout 65;
  32.  
  33. gzip off;
  34.  
  35. ### Main Site BEGIN
  36.  
  37. server {
  38. listen 5190;
  39. server_name _;
  40. access_log logs/_main.log main;
  41. location / {
  42. index index.html;
  43. root /nginx/html;
  44. }
  45. }
  46.  
  47. ### Main Site END
  48.  
  49.  
  50. ### uTorrent RProxy BEGIN
  51. server {
  52. listen 5190;
  53. server_name utorrent.vpedalkin.xxxxdns.org;
  54. access_log logs/utorrent.log main;
  55. location / {
  56. proxy_pass http://127.0.0.1:8081/;
  57. proxy_buffer_size 8k;
  58. proxy_buffering off;
  59. proxy_connect_timeout 3;
  60. proxy_ignore_client_abort off;
  61.  
  62. }
  63. }
  64. ### uTorrent RProxy END
  65.  
  66.  
  67. ### eMule RProxy BEGIN
  68. server {
  69. listen 5190;
  70. server_name emule.vpedalkin.xxxxdns.org;
  71. access_log logs/emule.log main;
  72. location / {
  73. proxy_pass http://127.0.0.1:8082/;
  74. proxy_buffer_size 8k;
  75. proxy_buffering off;
  76. proxy_connect_timeout 3;
  77. proxy_ignore_client_abort off;
  78.  
  79. }
  80. }
  81. ### eMule RProxy END
  82.  
  83. }
  84.  
Advertisement
Add Comment
Please, Sign In to add comment