By bilalezzat
Hello I have a problem with my server
2020/07/18 08:41:34 [error] 1031#1031: *3044185 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 156.199.193.107, server: onma.me, request: "GET /api/v3/latest-chapter?API_key=Hs0-23@vqaZgM(g&page=1 HTTP/1.1", upstream: "https://62.171.183.237:8443/api/v3/latest-chapter?API_key=Hs0-23@vqaZgM(g&page=1", host: "onma.me"
Control Panel: cpanel System: CentOS 7.0 Server: Apache & Nginx
Thank you
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!
Hi there @bilalezzat,
What I could suggest in this case is, in order to resolve the SSL error, I would recommend using an actual domain name with Nginx reverse proxy.
That way rather than having your API at: https://your_ip:8443/api which results in an SSL error, you could have it at: https://yourdomain.com/api.
Hope that this helps! Regards, Bobby
Hi @bilalezzat,
It seems like you are using Nginx as a reverse proxy. In such case you’ll need to add the following option to your configuration file
proxy_ssl_server_name on;
That way you’ll ensure you are passing your SSL when proxying connections.
Regards, KFSys
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.