Question

Proxy pass and Nginx

Posted January 29, 2014 4.4k views
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.

×
2 answers
Is there anything stopping you from hosting it on a subdomain? It's easier to configure nginx that way. (e.g. discuss.website.com).
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.

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.
Submit an Answer