Every service meant to be public work now on port 80 #205

Merged
bema merged 12 commits from bema/fix/unify_ports_on_master into master 2023-05-23 08:59:11 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 5887c92a2a - Show all commits

View File

@@ -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';

View File

@@ -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;