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
- xe guest utilities
- x-pack
- centos 8
- 로그인불가
- Elasticsearch
- ansible
- docker
- 한글가이드
- proxycfg
- application security
- bash
- Kibana server is not ready yet
- endpoint security
- Windows
- PlayBook
- elastic stack
- 보안양파
- Proxy
- G-suite
- ELASTIC
- pfsense
- XCP-ng
- Kibana
- freebsd
- GitLab
- ssh key 배포
- hardening
- macos
- miniconda
Archives
- Today
- Total
선 밖에 선 자유인
nginx / tomcat 설정 in Ubuntu 14.04 본문
nginx + tomcat8 + mariadb on Ubuntu 14.04
https://dont.pe.kr/tc/494
https://www.mkyong.com/nginx/nginx-apache-tomcat-configuration-example/
- nginx.conf 파일에 추가
location ~ \.jsp$ {
proxy_pass http://localhost:8080;
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;
}
- manager 접속시 403 에러 발생할 때
<tomcat-users>
<role rolename="manager-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="tomcat" password="admin" roles="manager-gui,manager-status"/>
</tomcat-users>
Comments