I am running a production server and my web application is running at port 8099. so if front end wants to access any backend endpoint, they make a call to this url:http://production.server.com:8099/mainserver/some/get?xxxxxxxI need to setup production.server.com:8099 to something like api.production-server.com, which will point to production.server.com:8099. What's the best approach to this? This is for ubuntu platform.
Setting up traffic router (proxy ?) for production
linux;ubuntu;squid
For Nginxserver {     server_name  https://api.production-server.com;     location / { proxy_pass http://127.0.0.1:8099; }} see this https://stackoverflow.com/a/11034125/1992247