https://gdtbgl93.tistory.com/96
nginx 설치후 설정파일에
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
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;
}
톰캣 포트로 맵핑 될수 있게 설정해주면 된다.
'Server' 카테고리의 다른 글
| 리눅스 자바 설치 aws (0) | 2020.11.04 |
|---|---|
| centOS 에 오라클 설치하기 (AWS) (0) | 2020.10.19 |
| linux 서버에 tomcat 설치하기 (0) | 2020.10.19 |
| AWS의 EC2 Linux 인스턴스에 Apache Tomcat 설치하기 (0) | 2020.10.18 |