mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
enhance: update reverse_proxy.conf #389
This commit is contained in:
parent
0d5a1f3a8c
commit
7ce0c1f951
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue