Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user nobody;
- worker_processes 1;
- #error_log logs/error.log;
- #error_log logs/error.log notice;
- #error_log logs/error.log info;
- #pid logs/nginx.pid;
- events {
- worker_connections 64;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- log_format main '$remote_addr - $remote_user [$time_local] $request '
- '"$status" $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for"';
- access_log logs/access.log main;
- sendfile on;
- #tcp_nopush on;
- #keepalive_timeout 0;
- keepalive_timeout 65;
- gzip off;
- ### Main Site BEGIN
- server {
- listen 5190;
- server_name _;
- access_log logs/_main.log main;
- location / {
- index index.html;
- root /nginx/html;
- }
- }
- ### Main Site END
- ### uTorrent RProxy BEGIN
- server {
- listen 5190;
- server_name utorrent.vpedalkin.xxxxdns.org;
- access_log logs/utorrent.log main;
- location / {
- proxy_pass http://127.0.0.1:8081/;
- proxy_buffer_size 8k;
- proxy_buffering off;
- proxy_connect_timeout 3;
- proxy_ignore_client_abort off;
- }
- }
- ### uTorrent RProxy END
- ### eMule RProxy BEGIN
- server {
- listen 5190;
- server_name emule.vpedalkin.xxxxdns.org;
- access_log logs/emule.log main;
- location / {
- proxy_pass http://127.0.0.1:8082/;
- proxy_buffer_size 8k;
- proxy_buffering off;
- proxy_connect_timeout 3;
- proxy_ignore_client_abort off;
- }
- }
- ### eMule RProxy END
- }
Advertisement
Add Comment
Please, Sign In to add comment