iptables 설정
- # iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
- # iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
- # netstat -ntl or iptables -t nat -L
- # iptables restart
- <Connector port="8080" proxyPort="80" protocol="HTTP/1.1"
connectionTimeout="20000"
enableLookups="false"
redirectPort="443"
URIEncoding="UTF-8" /> - <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
keyAlias="tomcat"
port="8443" proxyPort="443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="conf/keystore파일" keystorePass="키스토어비밀번호"
clientAuth="false" sslProtocol="TLS" />
참고
- http://devzeroty.tistory.com/entry/Tomcat-80-443%ED%8F%AC%ED%8A%B8-NonRoot-%EA%B3%84%EC%A0%95%EC%9C%BC%EB%A1%9C-%EB%9D%84%EC%9A%B0%EA%B8%B0
댓글 없음:
댓글 쓰기
참고: 블로그의 회원만 댓글을 작성할 수 있습니다.