I just installed an application in the subfolder of a WordPress-powered site that’s running on Nginx. By default, the application is accessible by appending a port number to the url, like http://website.com:7512.
The aim is to make the application accessible from http://website.com/discuss.
Looking for tips on how to use Nginx’s proxy pass to make this happen. So far, my attempts have not worked.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Yep, I know it’s easier setting up a subdomain for it. I’ve done it several times. But for SEO reasons, I’m opting to host the app in a subfolder. <br> <br>I’ve actually figured it out, it’s just that the app is at a development stage where it cannot be installed in a subfolder.
Is there anything stopping you from hosting it on a subdomain? It’s easier to configure nginx that way. (e.g. discuss.website.com).