René's URL Explorer Experiment


Title: configurable url_base to enable httpserve_start with path based routing (for example http://localhost:9999/duckserve/) - enabling simpler reverse proxying · Issue #22 · Query-farm/httpserver · GitHub

Open Graph Title: configurable url_base to enable httpserve_start with path based routing (for example http://localhost:9999/duckserve/) - enabling simpler reverse proxying · Issue #22 · Query-farm/httpserver

X Title: configurable url_base to enable httpserve_start with path based routing (for example http://localhost:9999/duckserve/) - enabling simpler reverse proxying · Issue #22 · Query-farm/httpserver

Description: When experimenting with running the httpserver extensions in a container, I tried putting the duckb CLI with the httpserver extension running behind a reverse proxy. So we then have a service/container running, lets call it "duckserve", ...

Open Graph Description: When experimenting with running the httpserver extensions in a container, I tried putting the duckb CLI with the httpserver extension running behind a reverse proxy. So we then have a service/conta...

X Description: When experimenting with running the httpserver extensions in a container, I tried putting the duckb CLI with the httpserver extension running behind a reverse proxy. So we then have a service/conta...

Opengraph URL: https://github.com/Query-farm/httpserver/issues/22

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"configurable url_base to enable httpserve_start with path based routing (for example http://localhost:9999/duckserve/) - enabling simpler reverse proxying","articleBody":"When experimenting with running the httpserver extensions in a container, I tried putting the duckb CLI with the httpserver extension running behind a reverse proxy. So we then have a service/container running, lets call it \"duckserve\", and it has the httpserver started which binds to 0.0.0.0:9999 for example inside that container. It is not exposed to the outside world / larger network - instead it only accepts connections only from another service, which is a reverse proxy routing the traffic in to the service.\r\n\r\nThe reverse proxy runs in another process/container (running at say :80 and :443), which is exposed to the wider network with a more accessible name. It receives traffic and routes requests like \"https://someserver.org/duckserve\" to the upstream \"duckserve\" service (while taking care of other things like certificates for https etc).\r\n\r\nIt would be nice if the \"duckserve\" service could be configured to be available on a subpath when it is started. To understand the problem, see [this link about reverse proxying a service under a subdir / path based route](https://caddy.community/t/the-subfolder-problem-or-why-cant-i-reverse-proxy-my-app-into-a-subfolder/8575#understanding-the-problem-1).\r\n\r\nIf httpserver could be started with a setting for the “URL Base” it could then be reverse proxied along with other services from just one server under one subdomain/name, rather than requiring a separate subdomain (\"stealing the webroot\") for itself, because the reverse proxy wouldn't be required to \"give up the webroot\" to route traffic specifically to httpserver.\r\n\r\nWould supporting something like `httpserve_start('0.0.0.0', 9999, 'auth', '/duckserve/')` be a possibility? Where the fourth parameter provides the path/route where the service is available (now I believe it is implicitly \"/\" ie the webroot). If so, I guess the web UI may already support it, if it gets the parameter \"url\"? \r\n\r\nNot sure the explanation above makes sense but if it was possible to provide this \"subdir\" at startup it would be possible to reverse proxy the service more easily, I think.\r\n\r\n![image](https://github.com/user-attachments/assets/bfbc3ccd-7548-4f22-91fa-c5ae8911bac8)\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/mskyttner","@type":"Person","name":"mskyttner"},"datePublished":"2024-12-16T16:57:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/22/httpserver/issues/22"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:70348e44-28d8-b957-d0ed-df91d06a527a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA686:16FA88:16EC4CC:1DFFF08:6982BE33
html-safe-nonce98c089f30052a8c8983cfdf168d5883f1e5b422cd2a8ed22bc4abd10a9d9c46e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjg2OjE2RkE4ODoxNkVDNENDOjFERkZGMDg6Njk4MkJFMzMiLCJ2aXNpdG9yX2lkIjoiNDU4Njg5ODQwNjcyMjY4MjQxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac392371edc1e9e56e38180d6cbdb236d8084100ce5a05de2fd15789d6da56515c
hovercard-subject-tagissue:2742913381
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Query-farm/httpserver/22/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae8859df18987b6e6378fc16058122726855ce150aa181d254b070f7abeabea6/Query-farm/httpserver/issues/22
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae8859df18987b6e6378fc16058122726855ce150aa181d254b070f7abeabea6/Query-farm/httpserver/issues/22
og:image:altWhen experimenting with running the httpserver extensions in a container, I tried putting the duckb CLI with the httpserver extension running behind a reverse proxy. So we then have a service/conta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemskyttner
hostnamegithub.com
expected-hostnamegithub.com
Nonec6741528aa4d4ba81c57bbff8f8cc0de0e9115cb2993431dc9dac8d489f7b4ee
turbo-cache-controlno-preview
go-importgithub.com/Query-farm/httpserver git https://github.com/Query-farm/httpserver.git
octolytics-dimension-user_id183420031
octolytics-dimension-user_loginQuery-farm
octolytics-dimension-repository_id869750358
octolytics-dimension-repository_nwoQuery-farm/httpserver
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id869750358
octolytics-dimension-repository_network_root_nwoQuery-farm/httpserver
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0d080c1322b22304d6fea611572ebc81cf3ab3d8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Query-farm/httpserver/issues/22#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuery-farm%2Fhttpserver%2Fissues%2F22
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuery-farm%2Fhttpserver%2Fissues%2F22
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Query-farm%2Fhttpserver
Reloadhttps://github.com/Query-farm/httpserver/issues/22
Reloadhttps://github.com/Query-farm/httpserver/issues/22
Reloadhttps://github.com/Query-farm/httpserver/issues/22
Query-farm https://github.com/Query-farm
httpserverhttps://github.com/Query-farm/httpserver
duckdb/extension-templatehttps://github.com/duckdb/extension-template
Notifications https://github.com/login?return_to=%2FQuery-farm%2Fhttpserver
Fork 10 https://github.com/login?return_to=%2FQuery-farm%2Fhttpserver
Star 265 https://github.com/login?return_to=%2FQuery-farm%2Fhttpserver
Code https://github.com/Query-farm/httpserver
Issues 10 https://github.com/Query-farm/httpserver/issues
Pull requests 1 https://github.com/Query-farm/httpserver/pulls
Actions https://github.com/Query-farm/httpserver/actions
Security 0 https://github.com/Query-farm/httpserver/security
Insights https://github.com/Query-farm/httpserver/pulse
Code https://github.com/Query-farm/httpserver
Issues https://github.com/Query-farm/httpserver/issues
Pull requests https://github.com/Query-farm/httpserver/pulls
Actions https://github.com/Query-farm/httpserver/actions
Security https://github.com/Query-farm/httpserver/security
Insights https://github.com/Query-farm/httpserver/pulse
New issuehttps://github.com/login?return_to=https://github.com/Query-farm/httpserver/issues/22
New issuehttps://github.com/login?return_to=https://github.com/Query-farm/httpserver/issues/22
configurable url_base to enable httpserve_start with path based routing (for example http://localhost:9999/duckserve/) - enabling simpler reverse proxyinghttps://github.com/Query-farm/httpserver/issues/22#top
feature requestFeature Requesthttps://github.com/Query-farm/httpserver/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com/mskyttner
https://github.com/mskyttner
mskyttnerhttps://github.com/mskyttner
on Dec 16, 2024https://github.com/Query-farm/httpserver/issues/22#issue-2742913381
https://someserver.org/duckservehttps://someserver.org/duckserve
this link about reverse proxying a service under a subdir / path based routehttps://caddy.community/t/the-subfolder-problem-or-why-cant-i-reverse-proxy-my-app-into-a-subfolder/8575#understanding-the-problem-1
https://private-user-images.githubusercontent.com/1715840/396190446-bfbc3ccd-7548-4f22-91fa-c5ae8911bac8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzAxNzYzNTEsIm5iZiI6MTc3MDE3NjA1MSwicGF0aCI6Ii8xNzE1ODQwLzM5NjE5MDQ0Ni1iZmJjM2NjZC03NTQ4LTRmMjItOTFmYS1jNWFlODkxMWJhYzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDIwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAyMDRUMDMzNDExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzA1MDVhYjk0YjEzOWE0NTlkMTg3Yzg1M2VkZGQyZmE3ZjBhYmNlMDhiMGYxMTNiM2ViYTE2N2MwMGIxZTQyMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.4RJBhupB5X1F6LS3PZ1wUBsPGsNoVDoWlvBDro_OeHA
feature requestFeature Requesthttps://github.com/Query-farm/httpserver/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.