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
{{ message }}
Repository navigation
[Feat]: port proxy feature disable via cli option #5826
can we add a cli option to disable the pop up on the lower right corner when web is served under a particular port ?
Or disable the whole "Ports" feature completely ?
currently the port proxy feature seems has some "relative path" issue if the code server is already behind a reverse proxy, so better to be disabled to avoid confusion.
Activity
[-][Feat]: [/-][+][Feat]: port proxy feature disable via cli option[/+]Oliver-Weng-Sorcerer commentedon Dec 1, 2022
cc @jsjoeio @code-asher
jsjoeio commentedon Dec 1, 2022
Yes! Seems like we'd need to add a CLI flag and then use it here, with the default set to
truehttps://github.com/coder/code-server/blob/main/patches/proxy-uri.diff#L178code-asher commentedon Dec 5, 2022
Does disabling the "auto forward ports" option do anything?
code-asher commentedon Dec 5, 2022
Still might be a good idea to have a CLI flag to disable the proxy completely if needed for security reasons.
Oliver-Weng-Sorcerer commentedon Dec 5, 2022
how to use
"auto forward ports" option? is it a cli option ?@code-asher
jsjoeio commentedon Dec 5, 2022
In your VS Code Settings:
Oliver-Weng-Sorcerer commentedon Dec 5, 2022
@jsjoeio thanks for the direction, I will test it out.
but agreed, a cli option would be nicer to give user ability to turn it off on start
Oliver-Weng-Sorcerer commentedon Dec 23, 2022
confirmed the
auto forward portsoption works.thanks @code-asher
jsjoeio commentedon Jan 3, 2023
Moving to Backlog for now. If more people want this, we can reconsider a CLI flag.