Skip to content

Add support for --proxy-domain #30

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 9 commits into from
May 29, 2020
Merged

Conversation

n-i-x
Copy link
Contributor

@n-i-x n-i-x commented May 20, 2020

linuxserver.io


We welcome all PR’s though this doesn’t guarantee it will be accepted.

Description:

Add --proxy-domain args to start args

Benefits of this PR and context:

code-server supports subdomain-based proxying of internal ports. In order to support this, the --proxy-domain arg needs to be set.

How Has This Been Tested?

Container built with this support and run. Redacted relevant log output here:

info  code-server 3.2.0 fd36a99a4c78669970ebc4eb05768293b657716f
info  HTTP server listening on http://0.0.0.0:8443
info    - No authentication
info    - Not serving HTTPS
info    - Proxying the following domain:
info      - *.code-server.my.domain
info  Automatic updates are disabled

Source / References:

https://github.com/cdr/code-server/blob/master/doc/FAQ.md#sub-domains

@n-i-x
Copy link
Contributor Author

n-i-x commented May 20, 2020

FYI... the Jenkins build for code-server is broken. There are no linux-x86_64 assets since 3.2.0... code-server broke something.

@aptalca
Copy link
Member

aptalca commented May 20, 2020

Yup, see #28

@dompl
Copy link

dompl commented May 29, 2020

Hi,

Are you guys planning on working this out?

Thanks

@LinuxServer-CI
Copy link
Collaborator

3 similar comments
@LinuxServer-CI
Copy link
Collaborator

@LinuxServer-CI
Copy link
Collaborator

@LinuxServer-CI
Copy link
Collaborator

@jrebey
Copy link
Contributor

jrebey commented May 29, 2020

I needed to merge in the latest changes, that's been done. This can be merged now.

@LinuxServer-CI
Copy link
Collaborator

1 similar comment
@LinuxServer-CI
Copy link
Collaborator

@aptalca aptalca merged commit 00afdeb into linuxserver:master May 29, 2020
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

Successfully merging this pull request may close these issues.

5 participants