From a7d9ed8c8b213bd994b0e4cbe7ef243bc17e4e4d Mon Sep 17 00:00:00 2001 From: HAJIHYUK <168079884+HAJIHYUK@users.noreply.github.com> Date: Sat, 22 Mar 2025 12:49:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?jsp=20=EA=B4=80=EB=A0=A8=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=8D=BC=ED=8B=B0=EC=8A=A4=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EB=A1=9C=EC=BB=A4=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties | 2 -- 1 file changed, 2 deletions(-) diff --git a/Location-based-target-authentication/src/main/resources/application.properties b/Location-based-target-authentication/src/main/resources/application.properties index fdb3e0e..b4f1c2c 100644 --- a/Location-based-target-authentication/src/main/resources/application.properties +++ b/Location-based-target-authentication/src/main/resources/application.properties @@ -9,8 +9,6 @@ spring.config.import=classpath:application-secret.properties logging.level.com.swyp.location=INFO logging.level.org.springframework.web.reactive.function.client=INFO -spring.mvc.view.prefix=/WEB-INF/views/ -spring.mvc.view.suffix=.jsp # Server Configuration server.port=443 From 3dba7f65516ea2590bb735bdae0366a7a7e55146 Mon Sep 17 00:00:00 2001 From: HAJIHYUK <168079884+HAJIHYUK@users.noreply.github.com> Date: Sat, 22 Mar 2025 12:56:56 +0900 Subject: [PATCH 2/2] =?UTF-8?q?jsp=EA=B4=80=EB=A0=A8=20=EB=B7=B0=EB=A6=AC?= =?UTF-8?q?=EC=A1=B8=EB=B2=84=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/swyp/global/config/WebConfig.java | 10 ---------- .../src/main/resources/application.properties | 16 ++++++++-------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java b/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java index 632af73..4bbba98 100644 --- a/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java +++ b/Location-based-target-authentication/src/main/java/com/swyp/global/config/WebConfig.java @@ -1,22 +1,12 @@ package com.swyp.global.config; -import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.web.servlet.ViewResolver; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; -import org.springframework.web.servlet.view.InternalResourceViewResolver; @Configuration public class WebConfig implements WebMvcConfigurer { - @Bean // 뷰 리졸버 설정 - public ViewResolver viewResolver() { - InternalResourceViewResolver resolver = new InternalResourceViewResolver(); - resolver.setPrefix("/WEB-INF/views/"); - resolver.setSuffix(".jsp"); - return resolver; - } @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { diff --git a/Location-based-target-authentication/src/main/resources/application.properties b/Location-based-target-authentication/src/main/resources/application.properties index b4f1c2c..c91b764 100644 --- a/Location-based-target-authentication/src/main/resources/application.properties +++ b/Location-based-target-authentication/src/main/resources/application.properties @@ -4,7 +4,7 @@ spring.application.name=Location-based-target-authentication spring.main.allow-bean-definition-overriding=true # Profile -spring.profiles.active=secret +spring.profiles.active=local spring.config.import=classpath:application-secret.properties logging.level.com.swyp.location=INFO logging.level.org.springframework.web.reactive.function.client=INFO @@ -16,13 +16,13 @@ server.http.port=8080 server.address=0.0.0.0 server.servlet.context-path=/ -# SSL Configuration -server.ssl.enabled=true -server.ssl.key-store=/etc/ssl/willgo/keystore.p12 -server.ssl.key-store-password=willgo86 -server.ssl.key-store-type=PKCS12 -server.ssl.key-alias=tomcat -security.require-ssl=true +# # SSL Configuration +# server.ssl.enabled=true +# server.ssl.key-store=/etc/ssl/willgo/keystore.p12 +# server.ssl.key-store-password=willgo86 +# server.ssl.key-store-type=PKCS12 +# server.ssl.key-alias=tomcat +# security.require-ssl=true # Database Configuration