Open lejard-h opened 7 years ago
should work as a reverse proxy to be able to do such things
port: 1337 hostname: 0.0.0.0 redirections: /api/**: http://localhost:8081 /**: http://localhost:8080
GET http://localhost:1337/ => http://localhost:8080 GET http://localhost:1337/api => http://localhost:8081 POST http://localhost:1337/api/data => http://localhost:8081/data
GET http://localhost:1337/
GET http://localhost:1337/api
POST http://localhost:1337/api/data
should work as a reverse proxy to be able to do such things
GET http://localhost:1337/
=> http://localhost:8080GET http://localhost:1337/api
=> http://localhost:8081POST http://localhost:1337/api/data
=> http://localhost:8081/data