nginx conf 설정
nginx 버전 정보 감추기 http { server_tokens off; }vhost 설정 위한 디렉토리 생성 및 지정 http { include sites-enabled/*; } include /etc/nginx/conf.d/*.conf; 이 디렉토리 안에 넣는것과 차이점? 아이피 차단 server { allow 192.168.0.0/24; deny all; } 192.168.0.0/24 아이피 대역을 제외하고 차단 디렉토리 차단 location ~ /(inc|local)/.* { deny all; return 404; }설정된 도메인 이외 차단 server { listen 80 default; server_name _; location / { deny all; return 406; } }도메인 리다..
Linux
2019. 5. 17. 09:28
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- gitlab
- 리눅스
- softether
- WAF
- pptp
- galera
- HAProxy
- L2TP
- MySQL
- Apache
- ssh
- iptables
- OpenVPN
- glusterfs
- php
- yum
- IPSEC
- mariadb
- mod_security
- cURL
- ntp
- SSL
- 인증서
- virtualbox
- NGINX
- centos8
- kvm
- GeoIP
- 베이어다이나믹
- centOS7
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함