Skip to content

code-server is being accessed over an insecure domain. Web views, the clipboard, and other functionality will not work as expected. #3575

Answered by JWleo
nexon33 asked this question in Q&A
Discussion options

You must be logged in to vote

@nexon33 you should use your vscode-server through https.
you need to go to ~/.config/code-server/config.yaml, and fix your file just like below:
bind-addr: ****
auth: password
password: ***88
cert: true(It's very very very important here,it needs your .key ,.crt or others to supprot the function) )
cert-host: ***

Replies: 7 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@nexon33
Comment options

Comment options

You must be logged in to vote
1 reply
@code-asher
Comment options

Comment options

You must be logged in to vote
1 reply
@code-asher
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jsjoeio
Comment options

You must be logged in to vote
1 reply
@jsjoeio
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants