Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- intellijIDEA
- kubectl
- IntelliJ
- Kubernetes
- JavaScript
- BPMN
- Git
- Spring
- mybatis
- gradle
- JPA
- wildfly
- NCP
- Java
- dbeaver
- LOG4J
- tibero
- gson
- springboot
- log4j2
- nodejs
- database
- maven
- MySQL
- docker
- react
- nginx
- VSCode
- Windows
- useEffect
Archives
- Today
- Total
목록리버스프록시 (1)
두 손끝의 창조자
Kubernetes로 프론트엔드 배포시 nginx 리버스 프록시 적용
nginx.conf 에 백엔드 서비스의 주소를 명시적으로 할 필요없이 서비스 이름을 지정하여 간접적으로 지정할 수 있다. server { listen 80; error_log /var/log/nginx/error.log; location /api { proxy_pass http://backend-service.default:3001; } location / { root /usr/share/nginx/html; index index.html index.htm; try_files $uri $uri/ /index.html =404; } include /etc/nginx/extra-conf.d/*.conf; }/api로 요청하는 url에 대하여 backend-service 클러스터IP로 연계하는 설정이다. 내 ..
DevOps
2023. 8. 17. 16:12