mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Update server-stream.conf to include server name in vhost
This commit is contained in:
parent
0b8ef1743e
commit
fbdf4f8065
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
server {
|
||||
# server name (vhost)
|
||||
server_name '{{ SERVER_NAME.split(" ")[0] }}';
|
||||
|
||||
# listen
|
||||
{% if LISTEN_STREAM == "yes" +%}
|
||||
|
|
@ -18,7 +20,6 @@ server {
|
|||
set $reason '';
|
||||
set $reason_data '';
|
||||
set $ctx_ref '';
|
||||
set $server_name '{{ SERVER_NAME.split(" ")[0] }}';
|
||||
|
||||
# include config files
|
||||
include {{ NGINX_PREFIX }}server-stream/*.conf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue