mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-06-19 07:36:59 +00:00
enhance: update reverse_proxy.conf #389
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user