parent
eaddb73dbd
commit
d4b3513b57
@ -1,5 +1,6 @@
|
|||||||
@model EditLiveRecordModel
|
@model EditLiveRecordModel
|
||||||
@{
|
@{
|
||||||
HtmlTitle = Model.Name;
|
HtmlTitle = Model.Name;
|
||||||
|
var url = Context.Request.Scheme + "://" + Context.Request.Host.Host + Model.Value;
|
||||||
}
|
}
|
||||||
<video id="videoElement" controls autoplay style="width:640px;height:480px;background-color:#000;" src="@Model.Value"></video>
|
<video controls muted autoplay style="width:640px;height:480px;background-color:#000;" src="@url"></video>
|
@ -1,55 +0,0 @@
|
|||||||
|
|
||||||
#user nobody;
|
|
||||||
worker_processes 1;
|
|
||||||
|
|
||||||
#error_log logs/error.log;
|
|
||||||
#error_log logs/error.log notice;
|
|
||||||
#error_log logs/error.log info;
|
|
||||||
|
|
||||||
#pid logs/nginx.pid;
|
|
||||||
|
|
||||||
|
|
||||||
events {
|
|
||||||
worker_connections 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
http {
|
|
||||||
include mime.types;
|
|
||||||
default_type application/octet-stream;
|
|
||||||
|
|
||||||
sendfile on;
|
|
||||||
|
|
||||||
keepalive_timeout 65;
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 0.0.0.0:80;
|
|
||||||
server_name localhost;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
root ../../publish/src/linux-x64/publish/apps/www;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /IoTCenter/hub {
|
|
||||||
proxy_pass http://localhost:5000/IoTCenter/hub/;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_cache_bypass $http_upgrade;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /UserCenter/ {
|
|
||||||
proxy_pass http://localhost:5000/UserCenter;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /IoTCenter/ {
|
|
||||||
proxy_pass http://localhost:5000/IoTCenter;
|
|
||||||
}
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue