summaryrefslogtreecommitdiff
path: root/os/platforms/v1/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'os/platforms/v1/nginx.conf')
-rw-r--r--os/platforms/v1/nginx.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/os/platforms/v1/nginx.conf b/os/platforms/v1/nginx.conf
index 9fbd41e5..0cb74801 100644
--- a/os/platforms/v1/nginx.conf
+++ b/os/platforms/v1/nginx.conf
@@ -44,8 +44,8 @@ http {
index index.html;
}
- location /kvm/ws {
- rewrite /kvm/ws /ws break;
+ location /kvmd/ws {
+ rewrite /kvmd/ws /ws break;
proxy_pass http://kvmd;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
@@ -54,8 +54,8 @@ http {
proxy_read_timeout 7d;
}
- location /kvm/msd/write {
- rewrite /kvm/msd/write /msd/write break;
+ location /kvmd/msd/write {
+ rewrite /kvmd/msd/write /msd/write break;
proxy_pass http://kvmd;
limit_rate 6250k;
limit_rate_after 50k;
@@ -63,13 +63,13 @@ http {
proxy_request_buffering off;
}
- location /kvm {
- rewrite /kvm/?(.*) /$1 break;
+ location /kvmd {
+ rewrite /kvmd/?(.*) /$1 break;
proxy_pass http://kvmd;
}
- location /video {
- rewrite /video/?(.*) /$1 break;
+ location /streamer {
+ rewrite /streamer/?(.*) /$1 break;
proxy_pass http://mjpg_streamer;
}
}