chatgpt-demo
chatgpt-demo copied to clipboard
SSL Installation for --host
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the bug
I self deployed chatgpt demo and i must say its wonderful and I'm enjoying it so much.
i used pnpm and using --host to access it from my mobile or Windows PC.
however I am lost to how I could sign a certificate to make the browser 123.123.123.123:3000 work on https ?
any help is highly appreciated. thank you !
What prompt did you enter?
I self deployed chatgpt demo and i must say its wonderful and I'm enjoying it so much.
i used pnpm and using --host to access it from my mobile or Windows PC.
however I am lost to how I could sign a certificate to make the browser 123.123.123.123:3000 work on https ?
any help is highly appreciated. thank you !
Console Logs
No response
Participation
- [X] I am willing to submit a pull request for this issue.
You may want to use vite's server.https option, see https://cn.vitejs.dev/config/server-options.html#server-https
And try editing options in astro.config.mjs. https://docs.astro.build/en/reference/configuration-reference/#vite