quarkus-quinoa icon indicating copy to clipboard operation
quarkus-quinoa copied to clipboard

Support dev mode with HTTPS

Open rvansa opened this issue 3 years ago • 5 comments

Quinoa should check on quarkus.http.insecure-requests and when it's disabled it should go straight to the SSL port, when it's redirect it should follow the redirects. Right now it does not appear to be working.

rvansa avatar Jun 13 '22 14:06 rvansa

@rvansa have u tried something like this: https://create-react-app.dev/docs/using-https-in-development/

ia3andy avatar Jun 14 '22 15:06 ia3andy

I was using this before moving over to Quinoa. Now I expect to get all the goodies for free, automatically :) (so not running npm manually).

rvansa avatar Jun 15 '22 11:06 rvansa

I've just tried ssl and it seems to work fine:

quarkus.http.ssl.certificate.file=cert.pem
quarkus.http.ssl.certificate.key-file=key.pem

quarkus.http.insecure-requests=redirect

I didn't manage to make the websocket work for HMR in proxy dev-mode using Vite. Everything else seems to work fine.

ia3andy avatar Jun 16 '22 07:06 ia3andy

FYI I am using RESTEasy Reactive, maybe the problem is with Classic + undertow?

ia3andy avatar Jun 16 '22 08:06 ia3andy

Could be, we should really jump on reactive.

rvansa avatar Jun 16 '22 08:06 rvansa

@ia3andy now that we have solved HMR support can this ticket be closed?

melloware avatar Mar 23 '23 23:03 melloware

We can close this issue.

Something we don't yet have though is ssl support for the node dev server, but I guess having Quarkus with SSL make this kind of useless.

ia3andy avatar Mar 24 '23 08:03 ia3andy