본문 바로가기
WEB/NGINX

7. weblogic 연동

by coldplayer83 2024. 11. 19.
728x90
반응형

tomcat 연동과 동일

보통 웹로직과 웹서버 연동시 oracle에서 제공하는 플러그인이 필요하지만 nginx는 별도의 플러그인이 필요하지 않음

 

설정 예시)

upstream weblogic{
        ip_hash;

        server 192.168.56.105:7002;
        server 192.168.56.105:7003;
    }

    server {
        listen       8080;
        server_name  192.168.56.105;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location /webapp/ {
            index  index.html index.htm;
            proxy_pass http://weblogic;
        }

 

ip_hash 설정에 의해 sticky session으로 연결 유지(다중화 환경시 load balance 설정 필요)

반응형

'WEB > NGINX' 카테고리의 다른 글

8. Nginx 모듈  (4) 2024.11.19
6. Sticky Session  (0) 2024.11.12
5. Load Balancing 방식 및 가중치 설정  (0) 2024.11.07
4. tomcat 연동  (0) 2023.05.22
3. 기동/중지  (0) 2023.05.22