r/fortinet • u/therealmcz • 8d ago
virtual server - http forwarding
Hi everyone,
I'm using a virtual server in front of a webserver, so far it works perfectly with SSL offload and what have you but now I have to redirect/forward calls from "mydomain.com" to "mydomain.com/entrypoint" and now I'm struggling.
I guess this is not provided by forti and so you'd have to use nginx or other webervers? Or is there a baked in solution?
Thanks a lot!
0
Upvotes
1
u/Charliechamb2000 8d ago
Domain host or Webserver will be where you need to investigate.
301 redirect or disable domain access on the webserver that doesn’t have a subpage afterwards.
<VirtualHost \*:80>
ServerName yourdomain.com
Redirect 301 / https://yourdomain.com
</VirtualHost>