diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index 73a52ec2..3cb2e307 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -18,7 +18,7 @@ real_ip_header CF-Connecting-IP; server { listen 80; - server_name api.techfork.shop techfork.shop; + server_name api.techfork.site; client_max_body_size 10M; @@ -46,7 +46,7 @@ server { server { listen 80; - server_name dev.techfork.shop; + server_name dev.techfork.site; client_max_body_size 10M; diff --git a/src/main/java/com/techfork/global/security/config/SecurityConfig.java b/src/main/java/com/techfork/global/security/config/SecurityConfig.java index 03621c0a..2221ece8 100644 --- a/src/main/java/com/techfork/global/security/config/SecurityConfig.java +++ b/src/main/java/com/techfork/global/security/config/SecurityConfig.java @@ -82,10 +82,7 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.setAllowedOrigins(List.of( "http://localhost:5173", "https://localhost", - "https://techfork-fe.vercel.app", - "https://techfork.shop", - "https://api.techfork.shop", - "https://dev.techfork.shop", + "https://techfork.site", "https://appleid.apple.com" // Apple Sign In form_post )); configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));