Former-commit-id: 97d455c50ccd7da50c8bc97a218c9192d592fe1d
TangShanKaiPing
wanggang 6 years ago
parent 2a03743f95
commit 339e120a35

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-rc.21", "version": "1.0.0-rc.31",
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Warning", "Default": "Warning",

Binary file not shown.

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-rc.21", "version": "1.0.0-rc.31",
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Warning", "Default": "Warning",

Binary file not shown.

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-rc.9", "version": "1.0.0-rc.31",
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Warning" "Default": "Warning"

@ -1,5 +1,5 @@
{ {
"version": "1.0.0-rc.21", "version": "1.0.0-rc.31",
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Warning" "Default": "Warning"

@ -1,19 +1,13 @@
user www-data;
#user nobody; worker_processes auto;
worker_processes 1; pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events { events {
worker_connections 1024; worker_connections 768;
# multi_accept on;
} }
http { http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
@ -27,28 +21,32 @@ http {
server_name localhost; server_name localhost;
location ^~ /live/ { location ^~ /live/ {
proxy_pass http://localhost:8080/live/; proxy_pass http://localhost:8080/live/;
}
location ^~ /video/ {
proxy_pass http://localhost:8080/;
} }
location ^~ /UserCenter/ { location ^~ /UserCenter/ {
proxy_pass http://localhost:8000/; proxy_pass http://localhost:8010/;
#add_header 'Access-Control-Allow-Origin' '*';
#add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
#add_header 'Access-Control-Allow-Headers' 'Content-Type';
} }
location ^~ /IoTCenter/ { location ^~ /IoTCenter/ {
proxy_pass http://localhost:8001/; proxy_pass http://localhost:8011/;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_read_timeout 86400; proxy_read_timeout 86400;
} }
location ^~ /IoTCenter/App/ {
proxy_pass http://localhost:8011/App/;
}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {
root html; root html;
} }
} }
}
}

@ -27,28 +27,32 @@ http {
server_name localhost; server_name localhost;
location ^~ /live/ { location ^~ /live/ {
proxy_pass http://localhost:8080/live/; proxy_pass http://localhost:8080/live/;
}
location ^~ /video/ {
proxy_pass http://localhost:8080/;
} }
location ^~ /UserCenter/ { location ^~ /UserCenter/ {
proxy_pass http://localhost:8010/; proxy_pass http://localhost:8010/;
#add_header 'Access-Control-Allow-Origin' '*';
#add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
#add_header 'Access-Control-Allow-Headers' 'Content-Type';
} }
location ^~ /IoTCenter/ { location ^~ /IoTCenter/ {
proxy_pass http://localhost:8011/; proxy_pass http://localhost:8011/;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_read_timeout 86400; proxy_read_timeout 86400;
} }
location ^~ /IoTCenter/App/ {
proxy_pass http://localhost:8011/App/;
}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {
root html; root html;
} }
} }
} }

Loading…
Cancel
Save