Adjusted Mock Services to new address
This commit is contained in:
@@ -4,7 +4,7 @@ var json = {};
|
|||||||
var jsonIndex = 0;
|
var jsonIndex = 0;
|
||||||
var lastId = 1;
|
var lastId = 1;
|
||||||
var htable_row = 0;
|
var htable_row = 0;
|
||||||
var host = window.location.protocol + "//" + window.location.hostname + ":8097";
|
var host = window.location.protocol + "//" + window.location.hostname + "/mock";
|
||||||
var dataModified = false;
|
var dataModified = false;
|
||||||
const addMessageName = 'addMessage';
|
const addMessageName = 'addMessage';
|
||||||
const loadMessageName = 'changeMessage';
|
const loadMessageName = 'changeMessage';
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /mock/ {
|
location /mock/ {
|
||||||
proxy_pass http://xmltools-mocked-services:8097/api/;
|
proxy_pass http://xmltools-mocked-services:8097/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user