"Connection: Keep-Alive" header required for Spaces

Posted November 26, 2018 2.8k views
NginxUbuntuDigitalOceanUbuntu 16.04Ubuntu 18.04

I’ve tried to GET one of my files and the return header is currently the following:
Connection => close

My application requires this to be Keep-Alive, I couldn’t find any information about adding this header to DigitalOcean Spaces.

Is this possible or will I be required to make a proxy server which handles all the requests from Spaces?

Thanks in advance guys! :)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey friend,

In this case a reverse proxy may make sense for you, to gain more control over the HTTP response.