Title: [Feat]: Support {{host}} in proxy-uri argument · Issue #6218 · coder/code-server · GitHub
Open Graph Title: [Feat]: Support {{host}} in proxy-uri argument · Issue #6218 · coder/code-server
X Title: [Feat]: Support {{host}} in proxy-uri argument · Issue #6218 · coder/code-server
Description: What is your suggestion? Currently, we can use {{port}}.domain.com as proxy uri to replace domain.com/proxy/{{port}} pattern. It would be nice to support --proxy-uri={{port}}.{{host}}, where {{host}} will be replaced will be replaced by ...
Open Graph Description: What is your suggestion? Currently, we can use {{port}}.domain.com as proxy uri to replace domain.com/proxy/{{port}} pattern. It would be nice to support --proxy-uri={{port}}.{{host}}, where {{host...
X Description: What is your suggestion? Currently, we can use {{port}}.domain.com as proxy uri to replace domain.com/proxy/{{port}} pattern. It would be nice to support --proxy-uri={{port}}.{{host}}, where {{host...
Opengraph URL: https://github.com/coder/code-server/issues/6218
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feat]: Support {{host}} in proxy-uri argument","articleBody":"## What is your suggestion?\r\n\r\nCurrently, we can use {{port}}.domain.com as proxy uri to replace domain.com/proxy/{{port}} pattern.\r\nIt would be nice to support --proxy-uri={{port}}.{{host}}, where {{host}} will be replaced will be replaced by current domain.\r\n\r\n## Why do you want this feature?\r\n\r\nI'm using ngrok to access my code-server outside of home, and it doesn't provide persistent subdomain on free plan. Allowing {{port}}.{{host}} will easily allow this instead of requiring manual configuration on every restart.\r\n\r\n## Are there any workarounds to get this functionality today?\r\n\r\nManually update the host, every time ngrok changes the url.\r\n\r\n## Are you interested in submitting a PR for this?\r\n\r\nI don't have any test environment setup for coder, but the changes need to be around this line:\r\nhttps://github.com/coder/code-server/blob/main/patches/proxy-uri.diff#L128","author":{"url":"https://github.com/hulknsmash","@type":"Person","name":"hulknsmash"},"datePublished":"2023-05-17T18:23:38Z","url":"https://github.com/coder/code-server/issues/6218"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0f3766a0-ce1e-1af5-c39b-7d1241b7ecb8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC30:1F16DD:1A977D:24CBB6:6B043703 |
| html-safe-nonce | 29e60f7c67230e45012a8c279ed3e4ab61549a02a77cd01c5a9da8f99b706a33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzMwOjFGMTZERDoxQTk3N0Q6MjRDQkI2OjZCMDQzNzAzIiwidmlzaXRvcl9pZCI6Ijc4ODAyNTg3NjkzMTIyOTg3NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bc6a688a9534f1b91f7a369bb9b4aca38839490107fef4b1e8b3bb34e2837bc4 |
| hovercard-subject-tag | issue:1714431151 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/coder/code-server/6218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91e8c2e35aaa9ef64e02c5d7a1d6074ed3acbc338afc14416e839dbe5d79c223/coder/code-server/issues/6218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91e8c2e35aaa9ef64e02c5d7a1d6074ed3acbc338afc14416e839dbe5d79c223/coder/code-server/issues/6218 |
| og:image:alt | What is your suggestion? Currently, we can use {{port}}.domain.com as proxy uri to replace domain.com/proxy/{{port}} pattern. It would be nice to support --proxy-uri={{port}}.{{host}}, where {{host... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hulknsmash |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width