Repository navigation
Pick the reverse proxy when deploying - #94
Merged
Merged
Conversation
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #92. Goes with serveroshq/daemon#20.
When a deploy has a domain, the deploy dialog now has a Reverse proxy dropdown: Caddy, nginx, Apache or Traefik. It starts on whatever the machine uses. Picking another one shows that deploying moves every site on the machine over and stops the old proxy, since only one of them can have ports 80 and 443.
Panel
machines.proxy: what serves the machine's domains, from the daemon's hello and from each finished deploy./machines/{machine}/deploy/takenalso returnsproxyandcanChooseProxy, which is how the dialog learns both when it opens.proxyonly when it differs from the machine's current one and there's a domain. Machines that never reported a proxy count as Caddy.daemon.proxy_choice_since(0.1.1-pre.40, the next daemon release). Older daemons don't get the dropdown, and asking for a proxy through the API or MCP is turned down with "too old to switch reverse proxy".deploy_from_gitanddeploy_template(MCP) takeproxytoo.systemctlcommand.Checked
ReverseProxyChoiceTest(10 tests), andServiceTemplateTestupdated for the two new fields on the taken endpoint.tests/suite: one failure,SyncDaemonReleasesTest, which also fails without this change in my local setup (local.envrelease URL).vp check,vue-tsc.