By hannydevelop
I have an Ubuntu droplet for my Rocket (Rust) application that works fine. However as this application uses Google oauth2 workflow, I have a webbrowser::open() function to open a url automatically for authentication. This function never gets called in my droplet but works appropriately locally. I use Nginx as a proxy server and would love if anyone can help me.
Please let me know if you need any more information.
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 @hannydevelopdolphin
Have you examined the Nginx access/error_log files on the droplet to check for any error messages or status codes?
We have a tutorial on NGINX Access Logs and Error Logs which you can check here:
https://www.digitalocean.com/community/tutorials/nginx-access-logs-error-logs
Regards
What error you do see when loading the application? Have you checked the Nginx error log, it should provide more detailed information on the issue that you are experiencing. You can check the application’s log as well.
I’m not sure on the application’s log however you can check the Nginx log in the /var/log/nginx folder.
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.