Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- gogs private git
- CODEGATE2018
- node
- blueborne
- https설정
- 코드게이트
- openctf
- npm
- Codegate
- pwntools
- node.js
- 코드게이트2017
- 노드 엑셀
- Git
- shellcraft
- Hacking
- gogs
- lob
- https
- BLUETOOTH
- CVE
- module
- xlsx
- codegate2017
- 코드게이트 주니어
- Branch
- doorlock
- 도메인 https
- NGINX
- pwnable
Archives
- Today
- Total
고졸백수해킹일기
nginx https 적용 본문
server {
listen 443 ssl;
server_name domain;
ssl_certificate /etc/letsencrypt/live/domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain/privkey.pem;
location / {
proxy_pass http://domain:8080;
}
}
주의. nginx는 default설정이 기본 설정이 아니라 리스팅 되는 가장 첫번째 파일이 베이스로 시작된다.
nginx는 proxy_pass와 http를 바로 https로 적용해 주는 메리트가 정말 큰 것 같다.
'etc' 카테고리의 다른 글
linux static ip (0) | 2020.09.24 |
---|---|
linux ram disk 만들기 (0) | 2020.09.14 |
윈도우 환경변수 설정 (0) | 2019.01.22 |
이모저모 (1) | 2018.09.26 |
mysql 필요한거 (0) | 2018.05.04 |