<div dir="ltr"><div>Hi,</div><div><br></div>In order to support HTTP and HTTPS on the same port we had to enable SSL for that listen port in the nginx config and remap the 497 nginx error code to a permanent redirect. To be transparent to the client making the request (written in go), we used "error_page 497 301 =200 $request_uri;".<div><br></div><div>This seems to work for the GET requests, but not for PUT requests.<br><div><br></div><div>This is a temporary workaround that we need while the more permanent solution is being worked on, so we're wondering if anybody here had any workarounds or tips on how to achieve that.</div></div><div><br></div><div>Thanks!</div><div>Nader</div></div>