Gitweb CSS and JS as insecure content through https

dsenecalb
dsenecalb
Hello Community: I was setting a git repository server with gitweb included. While a users access gitweb through http, users can access to the gitweb completely. However, setting the gitweb page into https, I just see the text and the links. CSS and JS scripts weren't loaded because for the web browser, interprets that these are insecure content. How to show the CSS and JS scripts through https? Thanks

Last updated

dsenecalb
dsenecalb
Ok, in case that your server is behind of a Load Balancer: * Go to /etc/gitweb.conf and set the following variable in the file $base_url = "https://GIT-URL.given-by-the-lb.com/git" * Save the changes * Restart the apache server.

1-2 of 2

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
793 views