反向代理源站可以设置权重

This commit is contained in:
刘祥超
2020-11-17 17:11:45 +08:00
parent ad38101786
commit c637cb7bf6
6 changed files with 36 additions and 2 deletions

View File

@@ -29,6 +29,13 @@
<p class="comment">源站服务器地址通常是一个IP或域名加端口<span v-if="serverType == 'httpProxy'">,不需要加 http:// 或 https://</span></p>
</td>
</tr>
<tr>
<td>权重</td>
<td>
<input type="text" name="weight" maxlength="4" value="10" style="width:5em"/>
<p class="comment">数字越大,代表分配的请求比例越多。</p>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>

View File

@@ -31,6 +31,13 @@
<p class="comment">源站服务器地址通常是一个IP或域名加端口<span v-if="serverType == 'httpProxy'">,不需要加 http:// 或 https://</span></p>
</td>
</tr>
<tr>
<td>权重</td>
<td>
<input type="text" name="weight" maxlength="4" v-model="origin.weight" style="width:5em"/>
<p class="comment">数字越大,代表分配的请求比例越多。</p>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>