Title: proxy subdomains in docker · coder/code-server · Discussion #4563 · GitHub
Open Graph Title: proxy subdomains in docker · coder/code-server · Discussion #4563
X Title: proxy subdomains in docker · coder/code-server · Discussion #4563
Description: proxy subdomains in docker
Open Graph Description: Hi, Great project!. Apologies if this has been documented / answered before. I am trying to set up subdomain proxy using the docker image codercom/code-server but can't seem to get it to work. For ...
X Description: Hi, Great project!. Apologies if this has been documented / answered before. I am trying to set up subdomain proxy using the docker image codercom/code-server but can't seem to get it to work. ...
Opengraph URL: https://github.com/coder/code-server/discussions/4563
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"proxy subdomains in docker","text":"\u003cp dir=\"auto\"\u003eHi,\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eGreat project!. Apologies if this has been documented / answered before.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eI am trying to set up subdomain proxy using the docker image codercom/code-server but can't seem to get it to work.\u003cbr\u003e\nFor example 5000.mydomain.com loads code server instead of the webapp.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ein the usage docs it says to use this startup flag: --proxy-domain \u003cbr\u003e\nHowever I can't find where to put it in docker?\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIt may also be relevant to say I am using jwilder/nginx-proxy image for this.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThanks\u003c/p\u003e","upvoteCount":2,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003eFigured it out. Went into the config.yml and added proxy-domain: mydomain.com rather than using a flag and now works as expected.\u003c/p\u003e","upvoteCount":2,"url":"https://github.com/coder/code-server/discussions/4563#discussioncomment-1718245"}}}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:06a1f80d-07ef-4212-d251-9eb48bc1230e |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | E8B6:258673:31A1A2:45AF7B:6B047733 |
| html-safe-nonce | d764d3598c7e62c6c275362f25b3c450038151f185937eac4c580a442f2da928 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEI2OjI1ODY3MzozMUExQTI6NDVBRjdCOjZCMDQ3NzMzIiwidmlzaXRvcl9pZCI6IjIzMDc4NjQzOTAxMjIzNzA4NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7e21057ef67088f6f978fb10b1cfb7250a31ec4aa022c705e3f922361b0242c5 |
| hovercard-subject-tag | discussion:3711600 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/coder/code-server/4563/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/10453f52f41bef9ef0bb143cb3389f2b7cfa7f1d53ade58bd8df4563a9c73a06/coder/code-server/discussions/4563 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10453f52f41bef9ef0bb143cb3389f2b7cfa7f1d53ade58bd8df4563a9c73a06/coder/code-server/discussions/4563 |
| og:image:alt | Hi, Great project!. Apologies if this has been documented / answered before. I am trying to set up subdomain proxy using the docker image codercom/code-server but can't seem to get it to work. For ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width