Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/stream/stream_grpc.html4
-rw-r--r--web/html/xui/form/stream/stream_http.html4
-rw-r--r--web/html/xui/form/stream/stream_ws.html3
3 files changed, 9 insertions, 2 deletions
diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html
index 21c95f99..f34a3457 100644
--- a/web/html/xui/form/stream/stream_grpc.html
+++ b/web/html/xui/form/stream/stream_grpc.html
@@ -1,5 +1,9 @@
{{define "form/streamGRPC"}}
<a-form layout="inline">
+ <a-form-item label="AcceptProxyProtocol">
+ <a-switch v-model="inbound.stream.grpc.sockopt.acceptProxyProtocol"></a-switch>
+ </a-form-item>
+ <br>
<a-form-item label="ServiceName">
<a-input v-model.trim="inbound.stream.grpc.serviceName"></a-input>
</a-form-item>
diff --git a/web/html/xui/form/stream/stream_http.html b/web/html/xui/form/stream/stream_http.html
index 57574ce5..17bd3759 100644
--- a/web/html/xui/form/stream/stream_http.html
+++ b/web/html/xui/form/stream/stream_http.html
@@ -1,5 +1,9 @@
{{define "form/streamHTTP"}}
<a-form layout="inline">
+ <a-form-item label="AcceptProxyProtocol">
+ <a-switch v-model="inbound.stream.http.sockopt.acceptProxyProtocol"></a-switch>
+ </a-form-item>
+ <br>
<a-form-item label='{{ i18n "path" }}'>
<a-input v-model.trim="inbound.stream.http.path"></a-input>
</a-form-item>
diff --git a/web/html/xui/form/stream/stream_ws.html b/web/html/xui/form/stream/stream_ws.html
index ec9d3755..25d1299c 100644
--- a/web/html/xui/form/stream/stream_ws.html
+++ b/web/html/xui/form/stream/stream_ws.html
@@ -3,8 +3,7 @@
<a-form-item label="AcceptProxyProtocol">
<a-switch v-model="inbound.stream.ws.acceptProxyProtocol"></a-switch>
</a-form-item>
-</a-form>
-<a-form layout="inline">
+ <br>
<a-form-item label='{{ i18n "path" }}'>
<a-input v-model.trim="inbound.stream.ws.path"></a-input>
</a-form-item>