quarkus-quinoa
quarkus-quinoa copied to clipboard
Support dev mode with HTTPS
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 have u tried something like this: https://create-react-app.dev/docs/using-https-in-development/
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).
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.
FYI I am using RESTEasy Reactive, maybe the problem is with Classic + undertow?
Could be, we should really jump on reactive.
@ia3andy now that we have solved HMR support can this ticket be closed?
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.