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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.