Extract real URL from HTTP request
Unanswered
Clumber Spaniel posted this in #help-forum
Clumber SpanielOP
Hello there,
Is there a way of getting the real request path?
Situation:
In my middleware I would like to do some routing based on from which domain the client sent a request.
My situation is that I'll be self hosting the server and there will be multiple domains pointed to my server. For example:
domain1.co.uk -> (my server ip)
domain2.com -> (my server ip)
So I won't have a
Is there a way of getting the real request path?
Situation:
In my middleware I would like to do some routing based on from which domain the client sent a request.
My situation is that I'll be self hosting the server and there will be multiple domains pointed to my server. For example:
domain1.co.uk -> (my server ip)
domain2.com -> (my server ip)
So I won't have a
HOST env variable set as my server will be exposed to multiple top level domains.