You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a use case where I need localias to proxy to https://localhost:3000 and ignore the self signed certificate that is attached to the web server running on https 🙈 .
The reason why is because I'm developing a capacitor application where:
For web I want to use https://capacitor-app.local so I can easily test on real mobile devices in my network
For android / ios simulators I need to use the IP address directly and cannot use localias (mDNS does not work well with emulators). And they access the dev server using https://ip:3000.
This means that for the android / ios simulator I need to provide my own self signed certificate while I also want to be able to use localias so I can access the web portion in a easy way.
Since capacitor is web based, a lot of Web API's depend on having a HTTPS connection.
My dev server is vite based which does not support serving both http and https.
I hope this is clear, I know its a bit niche but would be awesome if we could define the protocol to proxy to instead of always assuming http.
Regards,
The text was updated successfully, but these errors were encountered:
JanStevens
changed the title
Allow to proxy to https target
Allow to proxy to https target and other protocols
Feb 13, 2025
Hi,
I've got a use case where I need localias to proxy to
https://localhost:3000
and ignore the self signed certificate that is attached to the web server running on https 🙈 .The reason why is because I'm developing a capacitor application where:
https://capacitor-app.local
so I can easily test on real mobile devices in my networkhttps://ip:3000
.This means that for the android / ios simulator I need to provide my own self signed certificate while I also want to be able to use localias so I can access the web portion in a easy way.
Since capacitor is web based, a lot of Web API's depend on having a HTTPS connection.
My dev server is vite based which does not support serving both http and https.
I hope this is clear, I know its a bit niche but would be awesome if we could define the protocol to proxy to instead of always assuming http.
Regards,
The text was updated successfully, but these errors were encountered: