code-server icon indicating copy to clipboard operation
code-server copied to clipboard

feat(e2e): add support running behind proxy

Open jsjoeio opened this issue 2 years ago • 4 comments

This adds a new check inside the CodeServer model to allow the address to be . if it detects the USE_PROXY environment variable.

Fixes #5337

jsjoeio avatar Jul 15 '22 20:07 jsjoeio

✨ code-server docs for PR #5348 is ready! It will be updated on every commit.

  • Host: https://coder.com/docs/code-server/b0efa94
  • Last deploy status: success
  • Commit: b99135098cbaf748c553169632b152da96b42bab
  • Workflow status: https://github.com/coder/code-server/actions/runs/2827314727

github-actions[bot] avatar Jul 15 '22 20:07 github-actions[bot]

Codecov Report

Merging #5348 (b991350) into main (efb5bae) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5348   +/-   ##
=======================================
  Coverage   72.42%   72.42%           
=======================================
  Files          30       30           
  Lines        1672     1672           
  Branches      366      366           
=======================================
  Hits         1211     1211           
  Misses        398      398           
  Partials       63       63           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update efb5bae...b991350. Read the comment docs.

codecov[bot] avatar Jul 15 '22 21:07 codecov[bot]

✨ code-server dev build published to npm for PR #5348!

  • Last publish status: success
  • Commit: b99135098cbaf748c553169632b152da96b42bab

To install in a local project, run:

npm install @coder/code-server-pr@5348

To install globally, run:

npm install -g @coder/code-server-pr@5348

github-actions[bot] avatar Jul 15 '22 21:07 github-actions[bot]

Need to figure out Caddyfile issues.

Opened forum post here: https://caddy.community/t/automatically-forward-subpath-to-port-on-localhost/16629

Oddly enough:

{
	admin    localhost:4444
}
:8000/*/ide/* {
        handle {
                respond "hello world" 200
        }

}

Doesn't work with http://localhost:8000/8080/ide/hi so something is up

jsjoeio avatar Jul 22 '22 23:07 jsjoeio