We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e14c88 commit f91b17eCopy full SHA for f91b17e
nginx/conf.d/snippets/cors-settings.conf
@@ -1,6 +1,6 @@
1
# CORS 관련 공통 설정 -> 이거 나중에 프론트가 배포하면 프론트 주소로 수정해야됨
2
set $cors_origin "";
3
-if ($http_origin ~* "^https?://(localhost|127\.0\.0\.1|(www\.)?checkmo\.site)(:3000|:3001|:4173|:5173|:8080)?$") {
+if ($http_origin ~* "^https?://(localhost|127\.0\.0\.1|(www\.)?checkmo\.co\.kr)(:3000|:3001|:4173|:5173|:8080)?$") {
4
set $cors_origin $http_origin;
5
}
6
…nx/conf.d/websites/api.checkmo.site.conf …x/conf.d/websites/api.checkmo.co.kr.confnginx/conf.d/websites/api.checkmo.site.conf renamed to nginx/conf.d/websites/api.checkmo.co.kr.conf
server {
listen 80 default_server;
- server_name api.checkmo.site;
+ server_name api.checkmo.co.kr;
# 악성 요청 즉시 차단 (444는 연결을 바로 닫음)
if ($block_suspicious = 1) {
0 commit comments