본문 바로가기

개발은 하는건가..

검색하기
개발은 하는건가..
프로필사진 수동애비

  • 전체보기 (117)
    • 잡담 (4)
    • C, C++, MFC (30)
    • Java, Android (13)
    • Web (js, css, html) (8)
    • React-Native (5)
    • SpringBoot , Thymeleaf (23)
    • Server, Maria DBMS (24)
    • SQL Query (8)
    • Etc (0)
Guestbook
Notice
Link
Today
Total
Recent Posts
Recent Comments
«   2026/02   »
일 월 화 수 목 금 토
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
  • 검색 콤보박스
  • springboot
  • c언어
  • Activity 전체화면
  • Back 키 클릭 감지
  • CSS
  • 코드로 서버 재실행
  • springboot 재가동
  • 시간대 테이블생성
  • reactnative
  • view 획득
  • MFC
  • 파티션 빠른 삭제
  • rn
  • pid 찾아 kill
  • mybatis exception
  • 가변영역 스크롤
  • group by
  • 말줌임 CSS
  • 시간대별 통계
  • ffmpeg
  • 터치좌표 view
  • sql exception
  • SQL
  • 피쉬랜드
  • MariaDB
  • MySQL
  • 스크롤적용
  • vc++
  • CentOS
more
Archives
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록http to https (1)

개발은 하는건가..

[Springboot] http 접속 시 https 로 자동 전환 시키기

http 로 접속 시 https 로 리다이렉트 시키기 위해 다음과 같이 webConfig 클래스를 추가 하고 bean 을 등록한다.@Configurationpublic class WebConfig { @Bean public TomcatServletWebServerFactory servletContainer() { TomcatServletWebServerFactory tomcat = new TomcatServletWebServerFactory() { @Override protected void postProcessContext(Context context) { SecurityConstraint securityC..

SpringBoot , Thymeleaf 2025. 6. 2. 10:21
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바