Intranet: showing vhost-gen and vhost.conf configs

The vhost section of the intranet has been updated to show the currently applied virtual host config (normal or reverse proxy) and if exists the vhost-gen customization as well.

This allows for more transparency about what is going on behind the scenes and also gives the possibility to copy the configuration file and apply it to other projects.

Screenshot:

  1. The gear is a link to the vhost config (Apache or Nginx)
  2. The Funnel will only be shown if you have applied custom settings via vhost-gen

PR:

The downloaded *.conf files, all have the server definition repeated in the file. Meaning two identical server blocks, like so:

server {
    #-- Definition here.
}
server {
    #-- Identical definition here.
}

When I double check the files in the nginx container with the following, the issue remains.

docker-compose exec httpd sh
# cat /etc/httpd/vhost.d/hostname.conf

What’s up?

There should be one server block for HTTPS and one for HTTP