|
@@ -18,7 +18,16 @@ server {
|
|
|
try_files $uri $uri/ /index.html;
|
|
|
index start.html index.html;
|
|
|
}
|
|
|
+
|
|
|
+ location /api {
|
|
|
+ proxy_read_timeout 300;
|
|
|
+ proxy_pass http://172.16.121.248:8080;
|
|
|
+ }
|
|
|
|
|
|
+ location /ws {
|
|
|
+ proxy_read_timeout 300;
|
|
|
+ proxy_pass http://172.16.121.248:8080/ws;
|
|
|
+ }
|
|
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
|
|
|
|
|
# location /api {
|