国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
多IP服務(wù)器 Nginx 代理udp并綁定來源IP

#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  1024;
}


stream {


        upstream radius1812 {
                #server 172.42.1.10:1812;
                #server 172.42.1.21:1812;
                server 172.52.1.21:1812;
        }

        upstream radius1813 {
                #server 172.42.1.10:1813;
                #server 172.42.1.21:1813;
                server 172.52.1.21:1813;

        }

        server {
                listen 1812 udp;
                
proxy_bind 172.52.1.25;#綁定來源IP
                proxy_responses 1;
                proxy_timeout 20s;
                proxy_pass radius1812;
        }


        server {
                listen 1813 udp;
                proxy_bind 172.52.1.25;
                proxy_responses 1;
                proxy_timeout 20s;
                proxy_pass radius1813;
        }



        upstream ac2000 {
                #server 172.30.253.1:2000;
                server 192.168.100.5:2000;

        }

        upstream ac50100 {
                #server 172.30.253.1:50100;
                server 192.168.100.5:50100;

        }

        server {
                listen 2000 udp;
                proxy_bind 172.52.1.25;
                proxy_responses 1;
                proxy_timeout 20s;
                proxy_pass ac2000;
        }


        server {
                listen 50100 udp;
                proxy_bind 172.52.1.25;
                proxy_responses 1;
                proxy_timeout 20s;
                proxy_pass ac50100;
        }




}




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  on;


    upstream portalserver {

        server 172.42.1.15:8080;
        server 172.42.1.16:8080;

    } 

    upstream yunserver {

        server 123.207.110.98:8080;

    }
    
    server {
        listen       80;
        server_name  localhost;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {

            root   html;
            index  index.html index.htm;
            proxy_pass   http://portalserver;

        }


        
    }


    # another virtual host using mix of IP-, name-, and port-based configuration
    #
    server {
        listen       8080;

        location / {
            root   html;
            index  index.html index.htm;
            proxy_pass   http://portalserver;
        }
    }


    # HTTPS server
    #
    #server {
    #    listen       443 ssl;
    #    server_name  localhost;

    #    ssl_certificate      cert.pem;
    #    ssl_certificate_key  cert.key;

    #    ssl_session_cache    shared:SSL:1m;
    #    ssl_session_timeout  5m;

    #    ssl_ciphers  HIGH:!aNULL:!MD5;
    #    ssl_prefer_server_ciphers  on;

    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}

}

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
nginx+tomcat負(fù)載均衡策略
Nginx安裝配置詳解(轉(zhuǎn))
Nginx 記錄請求分發(fā)日志設(shè)置
CentOS下yum安裝 Nginx
nginx?根據(jù)?短鏈接?分發(fā)跳轉(zhuǎn)服務(wù)器
PHP常用的緩存技術(shù)匯總
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服