nginx managed SSL with Tomcat 7

前端 未结 2 1503
余生分开走
余生分开走 2021-01-31 06:21

What is the proper configuration in server.xml to have nginx manage SSL? My current configuration results in a \"redirect loop\" unless I mark the tomcat standard connection \"

2条回答
  •  孤城傲影
    2021-01-31 06:57

    Need to handle the x-forwarded-by and x-forwarded-proto headers in Tomcat. Add the following to your server.xml:

    
    

提交回复
热议问题