Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Installation for --host #411

Open
1 task done
MrElie opened this issue May 30, 2023 · 1 comment
Open
1 task done

SSL Installation for --host #411

MrElie opened this issue May 30, 2023 · 1 comment

Comments

@MrElie
Copy link

MrElie commented May 30, 2023

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

  • I am willing to submit a pull request for this issue.
@ddiu8081
Copy link
Member

ddiu8081 commented Jun 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants