婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > 使用nginx配置訪問wgcloud的方法

使用nginx配置訪問wgcloud的方法

熱門標簽:福州企業電銷機器人排名 10086外包用的什么外呼系統 怎么找到沒有地圖標注的店 麗江真人語音電話外呼系統 打400電話怎么辦理收費 河南防封號電銷機器人是什么 宿城區電話機器人找哪家 400電話辦理介紹信 上海申請高400開頭的電話

nginx配置如下:

如http://172.17.188.27/wgcloud 

server {
        listen       80;
        server_name  localhost;
 
        #charset koi8-r;
 
        #access_log  logs/host.access.log  main;
 
        location / {
            proxy_pass http://172.17.188.27:9999;
            #root   html;
            #index  index.html index.htm;
        }
 
 
        #error_page  404              /404.html;
 
        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
 
        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
        #
        #location ~ \.php$ {
        #    proxy_pass   http://127.0.0.1;
        #}
 
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        #location ~ \.php$ {
        #    root           html;
        #    fastcgi_pass   127.0.0.1:9000;
        #    fastcgi_index  index.php;
        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        #    include        fastcgi_params;
        #}
 
        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #    deny  all;
        #}
    }

記得agent的配置文件項serverUrl的80端口也要寫上,如下

#wgcloud-server端訪問地址,端口一定要寫,即使是80也要寫哈
serverUrl=http://172.17.188.27:80

補充:nginx配置訪問wgcloud,提高訪問速度

upstream wgcloudServer {
            server 172.17.188.27:9999 weight=10;
            ip_hash;
    }
    server {
        listen       80;
        server_name  localhost;
        #charset koi8-r;
        #access_log  logs/host.access.log  main;
        location / {
            proxy_pass http://wgcloudServer;
            #root   html;
            #index  index.html index.htm;
        }
        #error_page  404              /404.html;
        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }

到此這篇關于使用nginx配置訪問wgcloud的文章就介紹到這了,更多相關nginx配置wgcloud內容請搜索腳本之家以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持腳本之家!

標簽:隴南 雞西 連云港 朝陽 遵義 運城 面試通知 荊門

巨人網絡通訊聲明:本文標題《使用nginx配置訪問wgcloud的方法》,本文關鍵詞  使用,nginx,配置,訪問,wgcloud,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《使用nginx配置訪問wgcloud的方法》相關的同類信息!
  • 本頁收集關于使用nginx配置訪問wgcloud的方法的相關信息資訊供網民參考!
  • 企业400电话

    智能AI客服机器人
    15000

    在线订购

    合计11份范本:公司章程+合伙协议+出资协议+合作协议+股权转让协议+增资扩股协议+股权激励+股东会决议+董事会决议

    推薦文章
    主站蜘蛛池模板: 拜泉县| 天气| 威海市| 克东县| 剑河县| 三原县| 湛江市| 尼玛县| 黄梅县| 高州市| 阳谷县| 巴马| 修文县| 惠安县| 延长县| 平利县| 边坝县| 珲春市| 文登市| 宁化县| 正宁县| 托里县| 晋城| 滨州市| 南昌县| 鄂温| 法库县| 阳曲县| 莱阳市| 扎赉特旗| 鸡东县| 东丰县| 汾西县| 阳新县| 贵定县| 云林县| 陇川县| 武宁县| 定南县| 同德县| 大埔区|