feat: update model
This commit is contained in:
parent
252aad9d31
commit
6222422a75
@ -1,4 +1,4 @@
|
|||||||
upstream {stream_name} {
|
upstream {name} {
|
||||||
server localhost:{port} weight=1;
|
server localhost:{port} weight=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ server {
|
|||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_pass http://{stream_name};
|
proxy_pass http://{name};
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /favicon.ico {
|
location = /favicon.ico {
|
||||||
|
@ -7,8 +7,8 @@ server {
|
|||||||
# return 301 https://$server_name$request_uri;
|
# return 301 https://$server_name$request_uri;
|
||||||
# }
|
# }
|
||||||
|
|
||||||
access_log ./conf.d/{server}/access.log;
|
access_log ./conf.d/{name}/access.log;
|
||||||
error_log ./conf.d/{server}/error.log;
|
error_log ./conf.d/{name}/error.log;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
server_name {server_name};
|
server_name {server_name};
|
||||||
|
Loading…
Reference in New Issue
Block a user