mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-05-05 09:23:47 +00:00

containing a short apache-config snippet for delivering the pmg-docs via apache. Mostly added for consistency between pve-docs (containing pve-docs-mediawiki) and pmg-docs (containing pmg-docs-apache, because it does not have a wiki) Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
23 lines
510 B
Plaintext
23 lines
510 B
Plaintext
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
|