NginX 는 중첩 if 문(if 문 안에 또 if문)을 허용하지 않기에아래처럼 변수에 값을 할당하고 합한것을 마지막에 비교하는 방식으로 조건문을 설정한다.location ~ \.php$ { # Open CORS set $openCORS N; # *.도메인.com 이면 변수에 D 할당 if ($http_origin ~* (https?://[^/]*\.도메인\.com(:[0-9]+)?)) { set $openCORS "D"; } set $request_url $request_uri; if ($request_uri ~ ^/api/(.*)$) { set $openCORS "${openCORS}+API"; } if ($openCORS = "D+API") { add_header 'Access-Control-All..
EPEL 저장소 셋팅yum install epel-release -y REMI 저장소 셋팅RHEL 7/CentOS 7rpm -Uvh http://mirror.premi.st/epel/7/x86_64/e/epel-release-7-5.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpmRHEL 6/CentOS 6rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmRHEL 5/CentOS 5rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm PHP 설치시 --enablerepo=re..
공식 설치 문서는 http://nginx.org/en/linux_packages.htmlRHEL/CentOS 에 yum 저장소를 셋업하려면 vi /etc/yum.repos.d/nginx.repo 하고 아래의 내용을 입력:[nginx] name=nginx repo baseurl=http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/ gpgcheck=0 enabled=1 “OS” 는 리눅스 배포판에 따라 “rhel” 또는 “centos” 으로 치환하고 “OSRELEASE” 는 버젼에 맞춰 5.x, 6.x, or 7.x 로 치환.위와 같이 했으나 설치 안됨https://ma.ttias.be/enable-http2-in-nginx/ 의 조언에 따라 아래와 같이 ..
root 계정으로 아래 명령 실행$ rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm $ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm $ cd /etc/yum.repos.d $ curl -O http://rpms.famillecollet.com/enterprise/remi.repo http://itzone.tistory.com/669 참고하여 저장소 enabling http://saksin.tistory.com/1282 참고하여 저장소 추가PHP 5.6.x 설치하려면 remi 저장소의 remi, remi-php56 을 활성화 :$ vi /etc/yum.re..
방법1. 등록된 키 초기화$ ssh-add -D 방법2. ~/.ssh/config 에 IdentitiesOnly = yes 추가Host http://www.somehost.com IdentityFile ~/.ssh/key_for_somehost_rsa IdentitiesOnly yes Port 22 방법3. SSH 터미널 접속 PubkeyAuthentication=no 옵션$ ssh -p 22 -o PubkeyAuthentication=no username@somehost.com
# 메뉴얼https://developers.google.com/custom-search/json-api/v1/using_rest https://developers.google.com/custom-search/json-api/v1/reference/cse/list#request # Google Custom Search REST API v1GET https://www.googleapis.com/customsearch/v1?key={API_KEY}&cx={Google Custom Search CX}&gl=ko&hl=ko-KR&ie=utf8&oe=utf8&start=1&sort=date&q={검색어}
이전 처리 개념 원본 Region실행중인 EC2 instance를 복제복제한 instance가 실행되면 중지상태로해당 instance의 Volume의 Snapshot 생성Snapshot 복사메뉴에서 region 선택 이전받을 Region원본에서 복제되어온 Snapshot 으로부터 Volume 생성원본 EC2 Instance와 같은 사양으로 Instance 생성 후 중지상태로Volume 떼어내고 1.의 Volume 붙이기Instance StartInstance Running 되면 Public DNS 주소로 접속하여 검증 이전 처리 실제 예제 http://jkcms.blogspot.kr/2012/12/aws-ec2.html 도쿄 EC2Instances 메뉴 - 실행 중인 해당 인스턴스의 속성 메뉴에서 cre..
광고 게제 방법인벤토리 > 광고단위하나의 광고 공간도메인 벤더 형식으로 입력할 경우 예제domain_FullWebsite_RightSidebarFirstUnit 도메인의 전체 웹사이트 적용 우측 사이드바 첫번째 유닛domain_TechPage_MediumRectangleSecondUnit 도메인 테크 페이지의 중간 사각형 두번째 유닛일반적 입력 예제TechPage_MediumRectangleThird 테크 페이지 중간 사각형 세번째 공간인벤토리 > 게제위치광고 단위의 게제 위치광고 단위를 위치로 그룹화하고 싶을때 사용예제TechPages_RightSidebar 테크 페이지 우측 사이드바 위치게제 > 광고주문 > 새 광고 주문광고 해달라는 요청 입력게제 > 광고주문 > 광고 주문 > 새 광고 항목실제 광고..
접속 흐름SQL Client ---[SSH:22]---> EC2 ---[mysql:3306]---> RDS (mysql) AWS 보안 설정AWS EC2 Console > Sequrity Group 에서 아래와 같이 각 서비스에 대해 설정EC2 = Inbound SSH | TCP | 22 | My IP RDS = Inbound MYSQL/Aurora | TCP | 3306 | EC2의 private ip 보안설정 검증EC2에 SSH 접속 후$ mysql -h xxxxx.rds.amazonaws.com -P 3306 -u {RDS 아이디} -p Password: 암호입력mysql> \q bye SQL Client 접속 설정Sequel Pro 사용했음New Connection Tab (Cmd + T) > SS..
- Total
- Today
- Yesterday
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
- laravel
- Chrome
- CSS
- IOS
- git
- javascript
- Prototype
- IE
- nodejs
- sencha touch
- Wordpress
- JSON
- 한글
- classic asp
- nginx
- iphone
- Android
- mssql
- Mac
- Linux
- centos
- ASP
- Docker
- Debug
- PHP
- 안드로이드
- 워드프레스
- JQuery
- API
- iis
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |