Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore(ui): improve clarity of generate proxy label options (#11362)

🏔️ Peakfaa0e91c8d36
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index aeb661bcdf..e561f412fe 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -61,10 +61,10 @@
helper="Control generated labels and requests that do not match a running resource.">
<div class="grid gap-4 lg:grid-cols-2">
<x-forms.listbox id="generateExactLabels" label="Generated labels"
- helper="Generate labels only for the selected proxy implementation."
+ helper="<ul class='list-disc space-y-1 pl-4'><li><span class='font-semibold'>All supported proxies:</span> Traefik and Caddy labels are both generated, so switching the proxy keeps routing working.</li><li><span class='font-semibold'>Active proxy only:</span> generates fewer labels, but all resources must be redeployed to become accessible again after each proxy switch.</li></ul>"
onChange="instantSave" :options="[
- ['value' => false, 'label' => 'Keep compatible labels'],
- ['value' => true, 'label' => 'Generate exact proxy labels'],
+ ['value' => false, 'label' => 'Labels for all supported proxies'],
+ ['value' => true, 'label' => 'Labels for the active proxy only'],
]" />
<x-forms.listbox id="redirectEnabled" label="Unknown requests"
helper="Override the default 503 response for unknown hosts and stopped services."