__nginx: add minimal usage example
This commit is contained in:
parent
653c85e948
commit
735a1dddca
1 changed files with 16 additions and 0 deletions
|
@ -28,6 +28,22 @@ uacme-hookscript
|
||||||
Custom hook passed to the __uacme_obtain type: useful to integrate the
|
Custom hook passed to the __uacme_obtain type: useful to integrate the
|
||||||
dns-01 challenge with third-party DNS providers.
|
dns-01 challenge with third-party DNS providers.
|
||||||
|
|
||||||
|
EXAMPLES
|
||||||
|
--------
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
# TLS-enabled vhost serving static files in $WEBROOT/domain.tld (OS-specific,
|
||||||
|
# usually `/var/www` on GNU/Linux systemd).
|
||||||
|
__nginx domain.tld
|
||||||
|
|
||||||
|
# TLS-enabled vhost with custom configuration.
|
||||||
|
__nginx files.domain.tld \
|
||||||
|
--config - <<- EOF
|
||||||
|
root /var/www/files.domain.tld/;
|
||||||
|
autoindex on;
|
||||||
|
EOF
|
||||||
|
|
||||||
AUTHORS
|
AUTHORS
|
||||||
-------
|
-------
|
||||||
Timothée Floure <timothee.floure@posteo.net>
|
Timothée Floure <timothee.floure@posteo.net>
|
||||||
|
|
Loading…
Reference in a new issue