You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to install via apt install libnginx-mod-http-subs-filter.
That refers to ngx_http_substitutions_filter_module.
That modules documentation does not have sub_filter_once directive.
Instead, it has similar (but not the same) directives subs_filter_types and subs_filter.
tl;dr docs allude to two different nginx modules
ngx_http_subs_filter_module
andngx_http_sub_module
.The documentation example
nginx.conf
isngx_http_sub_module
The directive
sub_filter_once
is from nginx module ngx_http_sub_module.However, those directives failed for me
(I have installed apt packages
nginx-common
nginx-light
on a recent Debian)ngx_http_subs_filter_module
Looking at the example again, it refers to
I was able to install via
apt install libnginx-mod-http-subs-filter
.That refers to ngx_http_substitutions_filter_module.
That modules documentation does not have
sub_filter_once
directive.Instead, it has similar (but not the same) directives
subs_filter_types
andsubs_filter
.I manually changed the
nginx.conf
directives to:However, this resulted in a HTTP 500 error (tested using
curl -v http://gerbera.myhost.local
).different modules!
It appears there was some divergence or overlap of similarly-named nginx modules
ngx_http_subs_filter_module
andngx_http_sub_module
.Could a gerbera expert clarify the
nginx.conf
example in the docs?gerbera
was installed usingapt
, version 1.1.0.The text was updated successfully, but these errors were encountered: