I was able to get the redirection to work but it only works if the port is attached to the website(example: www.website.com:3000). If I do not put the port in the it gives me a “504 Gateway Time-out” with “nginx”. How do I get it to where it includes the port so you do not have to type the port? I am not sure if it has to do with the domain host or maybe or nginx.
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!
webrick is running it on 3000 yes. <br> <br>Here is http://pastebin.com/N9rkwtY2
Figured it out. Anyone else who has the problem in the etc/nginx/nginx.config file. <br> <br>upstream app_server { server 127.0.0.1:8080 fail_timeout=0; } <br> <br>I changed the port from 8080 to 3000 which is used by WEBrick
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.