본문 바로가기
반응형

분류 전체보기77

jquery ajax jsonp (CORB) blocked 경고 jsonp를 이용하여 다른 도메인에서 데이타를 읽어오도록 처리를 했는데 보안 설정을 추가하고 나서 크롬에서 아래와 같은 경고 문구가 발생했다. Cross-Origin Read Blocking (CORB) blocked cross-origin response ..... with MIME type application/json. var url = etcDomain + '/getCount'; try { $.ajax({ url: url, type: 'GET', dataType: 'jsonp', error: function(XHR, textStatus, errorThrown) { console.log('textStatus : ', textStatus); console.log('errorThrown : ',erro.. 2020. 6. 25.
nginx rewrite 설정 nginx에서 uri에서 특정 값을 포함하거나 파라미터에서 특정 값이 포함됐을때 다른 uri로 rewrite시키는 설정이다. nginx variable에 대한 설명은 아래 사이트에서 확인 가능하다. nginx.org/en/docs/http/ngx_http_core_module.html Module ngx_http_core_module Module ngx_http_core_module Directives Syntax: absolute_redirect on | off; Default: absolute_redirect on; Context: http, server, location This directive appeared in version 1.11.8. If disabled, redirects issued.. 2020. 6. 12.
logback 설정 정보 확인하기 http://logback.qos.ch/manual/introduction.html Chapter 1: Introduction Chapter 1: Introduction The morale effects are startling. Enthusiasm jumps when there is a running system, even a simple one. Efforts redouble when the first picture from a new graphics software system appears on the screen, even if it is only a rectangle. logback.qos.ch public class HelloWorld2 { public static void main(Stri.. 2020. 6. 10.
스프링부트 로그레벨 변경 application.properties에 로그레벨을 다 설정하고 나서 라이브 환경에 적용해놓은 상황에서 부트 실행시 로그레벨 변경하는 방법에 대해서 정리한다. 패키지명 : com.karint, aa.bb 1. 환경변수 설정 export LOGGING_LEVEL_COM_KARINT=DEBUG export LOGGING_LEVEL_AA_BB=DEBUG java -jar ./target/libs/spring.jar 2. JVM OPTION 설정 java -jar -Dlogging.level.com.karint=DEBUG -Dlogging.level.aa.bb=DEBUG ./target/libs/spring.jar 출처 : https://docs.spring.io/spring-boot/docs/2.1.9.RE.. 2020. 5. 20.
반응형