Skip to content

Commit

Permalink
give context around @acmePeriodicAuto location block. thanks javier!
Browse files Browse the repository at this point in the history
  • Loading branch information
zsteinkamp committed Mar 12, 2024
1 parent d13a1f7 commit c13ab4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ http {
ssl_certificate data:$dynamic_ssl_cert;
ssl_certificate_key data:$dynamic_ssl_key;

# Check certificate validity each minute
# `js_periodic` must be in a location {} block, so use a named location to
# avoid affecting URI space.
# From https://nginx.org/en/docs/http/ngx_http_core_module.html#location
# The “@” prefix defines a named location. Such a location is not used for a
# regular request processing, but instead used for request redirection.
location @acmePeriodicAuto {
# Check certificate validity each minute
js_periodic acme.clientAutoMode interval=1m;
}

Expand Down

0 comments on commit c13ab4f

Please sign in to comment.