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