http (not https) support?
I deployed a simple manifest and was surprised to not see http requests working. Is this intentional? I don't have an actual reason for doing http, but I would expect something to respond on port 80 with the following manifest. Perhaps a redirect if we're going https only.
services:
web:
image: httpd
port: http:80
I see locally https gets applied by default:
$ cx deploy
...
starting: convox.httpd.endpoint.web
starting: convox.httpd.service.web.1
$ cx services
NAME ENDPOINT
web https://web.httpd.convox
$ curl -k https://web.httpd.convox
<html><body><h1>It works!</h1></body></html>
$ curl http://web.httpd.convox
curl: (7) Failed to connect to web.httpd.convox port 80: Connection refused
I see similar behavior on AWS:
$ cx services
NAME ENDPOINT
web httpd-web.stagi-balan-mbzfvtgtwtz-624358609.us-east-1.rack.convox.io
$ curl httpd-web.stagi-balan-mbzfvtgtwtz-624358609.us-east-1.rack.convox.io
<time out>
$ curl -k https://httpd-web.stagi-balan-mbzfvtgtwtz-624358609.us-east-1.rack.convox.io
<html><body><h1>It works!</h1></body></html>
However I played around with the ALB listener and security group and there is no problem adding an additional HTTP:80 listener that forwards to my app target group to open up http traffic.
Hey guys, any updates on this?
I just set up an existing Rails app with praxis but it’d only run on https which I think isn’t necessary on development environments specially because it doesn’t work out of the box (getting Your connection is not private on Chrome).
Unless I'm missing something I definitely think this is just overhead.
