1
0
Эх сурвалжийг харах

enhance: update reverse_proxy.conf #389

Jacky 1 жил өмнө
parent
commit
7ce0c1f951

+ 4 - 0
template/block/reverse_proxy.conf

@@ -29,6 +29,10 @@ map $http_upgrade $connection_upgrade {
 {{- end }}
 # Nginx UI Custom End
 
+if ($host != $server_name) {
+    return 404;
+}
+
 location / {
         {{ if .enableWebSocket }}
         proxy_http_version 1.1;