일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- PGSQL
- Linux
- 18.04
- 엔진엑스
- JavaScript
- 몽고DB
- nginx
- Redis
- php7
- Stoplight
- nodejs
- API design
- 접속자수
- 스크롤부스터
- 리눅스
- ScrollBooster
- MongoDB
- db
- ubuntu
- 우분투
- php
- Node
- api 문서
- nosql
- node.js
- NVM
- ulimit
- tbls
- 데이터베이스
- PostgreSQL
- 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..