Framadate behind Reverse Proxy with SSL Offloading: wrong links with http only
Hi!
I'm trying to get Framadate to work with Apache (http) behind an Citrix ADC (Netscaler) Load Balancer/Reverse Proxy, which does all the SSL offloading stuff (https to the user). Unfortunatly all links generated e.g. for style sheets are http only, so modern browsers don't load these files because of mixed content.
<link rel="stylesheet" href="http://framadate.myserver.org/css/bootstrap.min.css"> <link rel="stylesheet" href="http://framadate.myserver.org/css/datepicker3.css"> <link rel="stylesheet" href="http://framadate.myserver.org/css/style.css"> <link rel="stylesheet" href="http://framadate.myserver.org/css/frama.css"> <link rel="stylesheet" href="http://framadate.myserver.org/css/print.css" media="print"> <link rel="stylesheet" href="http://framadate.myserver.org/css/fork-awesome.min.css"> <script src="http://framadate.myserver.org/js/jquery-3.6.0.min.js"></script> <script src="http://framadate.myserver.org/js/bootstrap.min.js"></script> <script src="http://framadate.myserver.org/js/bootstrap-datepicker.js"></script> <script src="http://framadate.myserver.org/js/locales/bootstrap-datepicker.de.js"></script> <script src="http://framadate.myserver.org/js/core.js"></script>
Of course I can write a rewrite rule on the Load Balancer to replace all http with https links, but isn't there an (undocumented?) option to tell Framadate to generate only https links? That would be much easier and should work with all other reverse proxys as well!?
Thx in advance... Axel