일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- NVM
- php
- nodejs
- ulimit
- nginx
- PostgreSQL
- 우분투
- Node
- php7
- 접속자수
- 스크롤부스터
- ScrollBooster
- node.js
- db
- Linux
- API design
- 엔진엑스
- tbls
- MongoDB
- Stoplight
- 리눅스
- Redis
- 18.04
- PGSQL
- ubuntu
- JavaScript
- 몽고DB
- api 문서
- nosql
- 데이터베이스
- 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; } }
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cfN6gq/btqx6zpz75O/Gazd6uvYGTfpGv5lzFz7G0/img.png)
저장소 추가 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..