Issue setting up reverse proxy with Nginx to redirect traffic to especific port
I installed nginx on a recently installed Alma Linux 9 system.
After starting the updates with sudo yum update -y
I reviewed the initial configuration of nginx to be able to build a node application that runs on port 9999
Use iframe to Call Reverse Proxy to Change User-Agent of Final Destination IP (Nginx)
I am trying to get this all to work nicely together and struggling greatly…
how to proxy http://xxx/pic/ to a docker 127.0.0.1:8888/
I have installed a picture service named Picsur with docker image. It works fine at http://127.0.0.1:8888. I have only one FQDN host http://www.example.com/. I can’t configure a name-based host like http://pic.example.com/ to service the picture service . So i decide to configure nginx reverse proxy like this: