Skip to content

12. Miscellaneous and tips

Ludo edited this page Jan 5, 2025 · 9 revisions

Enable repository web browsing

For security reasons, browsing a repository through the web server directory listing is disabled by default as it allows anybody to browse the content of the repositories without authentication.

To browse a repository through Repomanager, see: Browse repository content

If you really want to enable web server directory listing:

  1. Enter the container:
docker exec -it repomanager /bin/bash
  1. Edit Repomanager vhost configuration file:
vim /etc/nginx/sites-enabled/repomanager.conf
  1. Go to the very bottom file and uncomment the autoindex directives in the location /repo block:
location /repo {
    alias $REPOS_DIR;
    autoindex on;
    autoindex_exact_size off;
    autoindex_localtime on;
    autoindex_format html;
}
  1. Save the file and reload nginx:
service nginx reload
  1. Exit the container:
exit
  1. You can now browse the repositories through your web browser: https://<FQDN>/repo/