how to pass request to tomcat from nginx through https instead of http

kr flag


i have setup nginx with reverse proxy to tomcat server.This is working fine. Now i want to proxy_pass over https to tomcat can i do nginx config below where is domain used for example only

so I just want to proxy_pass to; instaed of;

my backend server is tomcat running on 8080 so i want to pass all request to tomcat over https instead of http .

location /abc { proxy_pass; proxy_redirect /; proxy_set_header Host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; client_max_body_size 150m;

ChanganAuto avatar
us flag
Does this answer your question? [How to remove nginx and re activate apache?](

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.