M HYPE SPLASH
// general

How to redirect port to subdirectory in nginx

By Emma Terry

I am using Nginx on Ubuntu

I have an application, working on port number *:8080 It's basically a container hosted webpage, so If anyone wants to access that webpage he/she have to access it via But I want to configure it via nginx so that port won't be exposed to public and instead one can access it on subdirectory like

I tried a lot to get help from the internet but couldn't find any working solution for nginx


So in short:

I have to configure to using Nginx

1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy