Skip to content

feat: support localhost apps running https #8585

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

Merged
merged 5 commits into from
Jul 19, 2023
Merged

feat: support localhost apps running https #8585

merged 5 commits into from
Jul 19, 2023

Conversation

sreya
Copy link
Collaborator

@sreya sreya commented Jul 19, 2023

fixes #5891

@sreya sreya requested a review from coadler July 19, 2023 22:02
@sreya sreya marked this pull request as ready for review July 19, 2023 22:06
Comment on lines +79 to +83
tn.transport.TLSClientConfig = &tls.Config{
MinVersion: tls.VersionTLS12,
//nolint:gosec
InsecureSkipVerify: true,
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also add NextProtos: []string{"h2", "http/1.1"}, to allow http2.

@sreya sreya merged commit 80b940c into main Jul 19, 2023
@sreya sreya deleted the jon/httpsapps branch July 19, 2023 22:33
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support HTTPS internal server schema in coder_app
2 participants