Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi guys,
I am new both to Apache and HAporxy. I have been tasked to create a reverse proxy.
One example of what needs to be dun:
client ==?= moodle.mycompany.com ==> proxy ==> moodle01.mycompany.net/elearning
client ==?= data.mycompany.com ==> proxy ==> backend.data/foo
Both connection from client to proxy and from proxy to backend need to be over SSl - this is working
When client tries to connect she/ he must present cert - this is working
“land” to backend subfolder - this is working when testing from LAN
client shoud allways see just moodle.mycompany.com never backend.moodle/elearning - not working
When I test from my LAN reverse proxy is working, client lands to subfolder on lweb server, but url that is displayed is from backend server, when i test outside my LAN, client lands on root of web server.
I am quite new to all this, and as much as Itry to read on the subject I am not certain what is what and what I need to do.
Here is my config so far:
frontend
frontend Proxy
bind *:443 ssl crt /etc/ssl/data.pem crt /etc/ssl/moodle.pem ca-file /etc/ssl//sca.pem verify required
acl for manipulation
acl url_moodle hdr_beg(host) -i moodle
acl url_epero hdr_beg(host) -i data
backend
use_backend moodle if url_moodle
use_backend data if url_data
backend moodle
server moodle-01 moodle01.mycompany.net:443 ssl crt /etc/ssl/certs/intermediate.pem verify none
reqrep ^([^\ :])\ (.) \1\ /elearning/\2
backend data
server data1 data.mycompany.com:443 ssl crt /etc/ssl/certs/intermediate.pem verify none
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2