일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ScrollBooster
- MongoDB
- tbls
- php7
- 리눅스
- node.js
- 18.04
- nodejs
- API design
- api 문서
- php
- ulimit
- PostgreSQL
- PGSQL
- ubuntu
- Stoplight
- 엔진엑스
- Node
- 스크롤부스터
- Redis
- Linux
- 데이터베이스
- NVM
- 몽고DB
- nginx
- nosql
- db
- 우분투
- JavaScript
- 접속자수
- Today
- Total
목록nginx (2)
Parallel World
nginx configure 설정 server { listen 80; listen [::]:80; server_name exemple.dev; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://xxx.xxx.xxx.xxx:xxxx/; # Node.js로 실행된 웹서버 주소 proxy_redirect off; } }
저장소 추가 nginx 저장소 파일 생성 및 내용 추가 $ sudo vi /etc/apt/sources.list.d/nginx.list 우분투 18.04에 경우 (Bionic) deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx deb-src http://nginx.org/packages/mainline/ubuntu/ bionic nginx 우분투 20.04에 경우 (Focal) deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ focal nginx deb-src http://nginx.org/packages/mainline/ubuntu/ focal nginx Nginx..