Relative Content

Tag Archive for nginxnginx-reverse-proxy

How to get request body data in nginx log

I am using nginx 1.19 version. I have configured the proxy for tomcat in the below nginx.conf file and I have no problem with it, I just want to print the request body in the log file.

nginx reverse proxy domain name

I want to try to use nginx as reverse proxy. What I want is when I type this domain: my.local.domain it redirects to a webserver running on another pc.

Redirecting ports in nginx

how can I redirect port 80 of my server to two dockers depending on the url?
that is if the server listens to /main or /login that goes to the docker in 1304