I installed nginx as a reverse proxy but it 's not working. I cannot access my website from outside but if I run curl command (curl -v xxx.com) , I got the information.
Please help.
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!
Hello, @pennicilin
Would you mind sharing the steps you’ve taken in order to configure the reverse proxy and also share the output of these commands:
netstat -plunta | grep nginx
netstat -plunta | grep 80
netstat -plunta | grep 443
You can double check that you’ve properly set the ports in the both the configuration files (presumably Apache and Nginx)
Also make sure that both web servers are up and running and that there are no syntax errors in the web config files, which you can check by this command:
sudo nginx -t
and
sudo apache2 -t
Regards, Alex
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.