<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      PgSql on Docker with HaProxy 反向代理

      Run PgSql on Docker as Remote Db


      docker run -d -it \
      --name pgdb \
      -p 5432:5432 \
      -e POSTGRES_USER=postgres \
      -e POSTGRES_PASSWORD=youpassword --volume=/data/pgsql_data:/var/lib/postgresql/data postgres:latest postgres



      Config HaProxy 作為反向代理服務器

      #---------------------------------------------------------------------

      # Example configuration for a possible web application. See the

      # full configuration options online.

      #

      # http://haproxy.1wt.eu/download/1.4/doc/configuration.txt

      #

      #---------------------------------------------------------------------

      #---------------------------------------------------------------------

      # Global settings

      #---------------------------------------------------------------------

      global

      # to have these messages end up in /var/log/haproxy.log you will

      # need to:

      #

      # 1) configure syslog to accept network log events. This is done

      # by adding the '-r' option to the SYSLOGD_OPTIONS in

      # /etc/sysconfig/syslog

      #

      # 2) configure local2 events to go to the /var/log/haproxy.log

      # file. A line like the following can be added to

      # /etc/sysconfig/syslog

      #

      # local2.* /var/log/haproxy.log

      #

      log 127.0.0.1 local2

      chroot /var/lib/haproxy

      pidfile /var/run/haproxy.pid

      maxconn 4000

      user haproxy

      group haproxy

      daemon

      # turn on stats unix socket

      stats socket /var/lib/haproxy/stats

      #---------------------------------------------------------------------

      # common defaults that all the 'listen' and 'backend' sections will

      # use if not designated in their block

      #---------------------------------------------------------------------

      defaults

      mode tcp

      # mode http

      log global

      # option httplog

      # option dontlognull

      # option http-server-close

      # option forwardfor except 127.0.0.0/8

      # option redispatch

      retries 3

      # timeout http-request 10s

      timeout queue 1m

      timeout connect 10s

      timeout client 1m

      timeout server 1m

      # timeout http-keep-alive 10s

      timeout check 5s

      maxconn 3000

      #---------------------------------------------------------------------

      # main frontend which proxys to the backends

      #---------------------------------------------------------------------

      #frontend main *:5000

      # acl url_static path_beg -i /static /images /javascript /stylesheets

      # acl url_static path_end -i .jpg .gif .png .css .js

      # use_backend static if url_static

      # default_backend app

      listen pgsql 0.0.0.0:15432

      mode tcp

      balance roundrobin

      # Add PostgreSQL replica here.

      option pgsql-check user snaga

      server master 127.0.0.1:5432 check inter 10000

      #listen stats 127.0.0.1:6080

      listen stats *:6080

      mode http

      log global

      maxconn 10

      timeout client 100s

      timeout server 100s

      timeout connect 100s

      timeout queue 100s

      stats enable

      stats hide-version

      stats refresh 30s

      stats show-node

      # stats auth admin:password

      stats uri /stats

      posted @ 2017-10-30 21:30  DukeCheng  閱讀(511)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 国产精品日韩深夜福利久久| 亚洲性日韩精品一区二区三区| 香蕉久久一区二区不卡无毒影院| 亚洲一本大道在线| 日本乱子人伦在线视频| 欧洲熟妇熟女久久精品综合| 麻豆国产va免费精品高清在线| 亚洲精品国产男人的天堂| 精品一区二区免费不卡| 亚洲日韩性欧美中文字幕| 蜜桃臀av一区二区三区| 做暖暖视频在线看片免费| 激情的视频一区二区三区| 国产精品自在自线免费观看| 成人精品自拍视频免费看| 午夜福利看片在线观看| 国产成人午夜福利在线播放| 国内在线视频一区二区三区| 精品人妻丰满久久久a| 亚洲精品久久一区二区三区四区| 久久久无码精品午夜| 国产一区二区三区精品综合| 国产亚洲精品中文字幕| 人妻精品动漫H无码中字| 成人区人妻精品一区二蜜臀| 国产婷婷综合在线视频中文| 黑人异族巨大巨大巨粗| 永久免费无码网站在线观看| 深夜av在线免费观看| 欧美成人午夜精品免费福利| 精品国产福利一区二区在线| 日韩乱码视频一区二区三区| 男人的天堂av一二三区| 麻豆精产国品一二三区区| 在线看无码的免费网站| 国产超碰无码最新上传| 人妻中文字幕不卡精品| 色九九视频| 国产精品国产精品偷麻豆| 精品一区二区免费不卡| 中文亚洲成A人片在线观看|