源站支持自定义回源主机名

This commit is contained in:
刘祥超
2022-03-17 15:48:08 +08:00
parent 69d6fd645b
commit 0735bc2d8a
10 changed files with 44 additions and 15 deletions

View File

@@ -45,6 +45,13 @@
<ssl-certs-box :v-single-mode="true" :v-view-size="'mini'" :v-description="'可以选择连接源站使用的证书。'"></ssl-certs-box>
</td>
</tr>
<tr v-if="isHTTP">
<td>回源主机名</td>
<td>
<input type="text" name="host" placeholder="比如example.com" maxlength="100"/>
<p class="comment">请求源站时的Host用于修改源站接收到的域名自定义Host内容中支持请求变量。</p>
</td>
</tr>
<tr v-if="isHTTP">
<td>专属域名</td>
<td>

View File

@@ -46,6 +46,13 @@
<ssl-certs-box :v-single-mode="true" :v-cert="origin.cert" :v-view-size="'mini'" :v-description="'可以选择连接源站使用的证书。'"></ssl-certs-box>
</td>
</tr>
<tr v-if="isHTTP">
<td>回源主机名</td>
<td>
<input type="text" name="host" v-model="origin.host" placeholder="比如example.com" maxlength="100"/>
<p class="comment">请求源站时的Host用于修改源站接收到的域名自定义Host内容中支持请求变量。</p>
</td>
</tr>
<tr v-if="isHTTP">
<td>专属域名</td>
<td>