0

I want to be able to launch the rails server so that puma is configured to use ssl.

rails s puma -b 127.0.0.1

works to bind it to an address and

puma -b 'ssl://127.0.0.1:3000?key=/Users/bobby/.ssh/server.key&cert=/Users/bobby/.ssh/server.crt' 

works to launch puma using SSL and my self signed certificate.

But i cannot find a way to include the SSL binding on the rails command line. Any help out there

when i try to combine them i get

rails s puma -b 'ssl://127.0.0.1:3000?key=/Users/bobby/.ssh/server.key&cert=/Users/bobby/.ssh/server.crt' 

getaddrinfo: nodename nor servname provided

Cœur
  • 37,241
  • 25
  • 195
  • 267
bobbdelsol
  • 996
  • 6
  • 21

0 Answers0