nginx 배치 springboot

547 단어 nginxlinux
    upstream sysadmin_in {
      server 172.17.100.9:8046;
      server 172.17.100.10:8046;
    }
        location /sysadmin {
            proxy_http_version 1.1;
            proxy_set_header Connection "";
            proxy_pass  http://sysadmin_in;
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }

좋은 웹페이지 즐겨찾기