mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-05-03 02:06:09 +00:00
![]() the apache/conf-available snippet for pmg-docs-apache should be named like the package according to lintian (non-standard-apache2-configuration-name). move the configfile via dpkg-maintscript-helper(1) (see the manpage for the explaination of the prior version of 6.0-3~) and dh_installdeb(1). Tested by upgrading pmg-docs-apache to a version with this commit, while having modifications in '/etc/apache2/conf-available/pmg-docs.conf' Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com> |
||
---|---|---|
.. | ||
pmg-docs-apache.conf | ||
README |
Include the shipped config-snippet in the virtualhost you wish to serve the documentation from: ``` Include /etc/apache2/conf-available/pmg-docs.conf ``` If pmg-docs is the only vhost on the host you can also globally enable the config-snippet: # a2enconf pmg-docs.conf in both cases reload apache2 afterwards # systemctl reload apache2 Now you should be able to access the documentation at: * Admin Guide and Manual pages http://your-server/pmg-docs * API Viewer http://your-server/pmg-docs/api-viewer