I installed my own ethereum node and put it behind HTTPS nginx proxy.
geth attach works perfectly but
truffle deploy failed with error:
<html> <head><title>400 The plain HTTP request was sent to HTTPS port</title> </head> <body bgcolor=\"white\"> <center><h1>400 Bad Request</h1> </center> <center>The plain HTTP request was sent to HTTPS port</center> <hr><center>nginx/1.10.2</center> </body> </html>
I understand why it happens, question is how to force Truffle work over HTTPS, not HTTP?