server { listen 80; server_name example.com; location / { # 여러개의 도메인을 허용할 경우 아래와 같이 조건문이 필요하다. if ($http_origin ~ '^https?://(localhost|example\.com|api\.example\.com)') { add_header Access-Control-Allow-Origin $http_origin; } # 단순히 모든 도메인에 허용하고 싶다면 아래의 주석을 해제하여 사용한다. # add_header Access-Control-Allow-Origin '*' }

Windows 운영체제 하에서 javascript 또는 python등의 언어로 개발환경을 구성하다 보면 rm, make 등의 언어가 필요할 때가 있다. 이 경우 아래의 링크에서 필요한 유틸 툴을 다운로드 받아 명령어를 작동시킬 수 있다. http://gnuwin32.sourceforge.net/packages/coreutils.htm CoreUtils for Windows CoreUtils for Windows CoreUtils: collection of basic file, shell and text manipulation utilities 5.3.0 The GNU Core Utilities are the basic file, shell and text manipulation utilities of t..
- Total
- Today
- Yesterday
- Python
- 파이썬 프로그래밍
- cros 에러
- react 시작하는 법
- 문제해결
- 배열에서 오브젝트 삭제하기
- nginx cors
- Java
- cargo 설치 명령어
- 자바
- 최신 nodejs
- create-react-app 시작하기
- rustup
- Java 프로그래밍
- ubuntu node
- 파이썬 팁
- node 최신버전
- 자바스크립트 배열 오브젝트 삭제
- 프로그래밍구성방법
- 빈 컴포넌트
- java programming
- python tip
- cors 해결방법
- cors 문제
- cros 방법
- Python Programming
- 자바프로그래밍
- 파이썬
- php로 자바스크립트 콘솔 출력
- 프로그래밍
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |