mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-31 08:46:16 +00:00
Fix radio button and add description
This commit is contained in:
parent
3fa5dfc873
commit
16d6885a88
2 changed files with 9 additions and 4 deletions
|
@ -103,12 +103,12 @@
|
||||||
v-model="settings.trustProxy"
|
v-model="settings.trustProxy"
|
||||||
class="form-check-input"
|
class="form-check-input"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="flexRadioDefault"
|
name="trustProxyYes"
|
||||||
:value="true"
|
:value="true"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<label class="form-check-label" for="trustProxyYes">
|
<label class="form-check-label" for="trustProxyYes">
|
||||||
{{ $t("Trust 'X-Forwarded-*' headers") }}
|
{{ $t("Yes") }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
|
@ -121,10 +121,14 @@
|
||||||
:value="false"
|
:value="false"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<label class="form-check-label" for="trustProxyYes">
|
<label class="form-check-label" for="trustProxyNo">
|
||||||
{{ $t("Don't trust 'X-Forwarded-*' headers") }}
|
{{ $t("No") }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-text">
|
||||||
|
{{ $t("trustProxyDescription") }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -540,4 +540,5 @@ export default {
|
||||||
"Domain": "Domain",
|
"Domain": "Domain",
|
||||||
"Workstation": "Workstation",
|
"Workstation": "Workstation",
|
||||||
disableCloudflaredNoAuthMsg: "You are in No Auth mode, password is not require.",
|
disableCloudflaredNoAuthMsg: "You are in No Auth mode, password is not require.",
|
||||||
|
trustProxyDescription: "Trust 'X-Forwarded-*' headers. If you want to get the correct client IP and your Uptime Kuma is behind such as Nginx or Apache, you should enable this.",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue