# HG changeset patch # User Yaroslav Zhuravlev # Date 1660833879 -3600 # Node ID 986e1f930e3b284989fdfb91f70c71c5be933694 # Parent e59e8645055dd2597abe6b3b4f08312a6d516673 Documented server, location, if contexts for some js directives. diff -r e59e8645055d -r 986e1f930e3b xml/en/docs/http/ngx_http_js_module.xml --- a/xml/en/docs/http/ngx_http_js_module.xml Thu Aug 18 15:28:45 2022 +0100 +++ b/xml/en/docs/http/ngx_http_js_module.xml Thu Aug 18 15:44:39 2022 +0100 @@ -9,7 +9,7 @@ + rev="36">
@@ -152,6 +152,7 @@ [buffer_type=string | buffer] location +if in location limit_except 0.5.2 @@ -226,6 +227,14 @@ + + +The directive can be specified inside the +if block +since 0.7.7. + + + @@ -233,6 +242,7 @@ function | module.function location +if in location limit_except @@ -241,6 +251,14 @@ a module function can be referenced. + + +The directive can be specified inside the +if block +since 0.7.7. + + + @@ -393,6 +411,7 @@ function | module.function location +if in location limit_except 0.5.1 @@ -414,6 +433,14 @@ + + +The directive can be specified inside the +if block +since 0.7.7. + + + @@ -422,6 +449,8 @@ export_name from module.js http +server +location 0.4.0 @@ -443,6 +472,14 @@ Several js_import directives can be specified. + + +The directive can be specified on the +server and location level +since 0.7.7. + + + @@ -483,12 +520,22 @@ path http +server +location 0.3.0 Sets an additional path for njs modules. + + +The directive can be specified on the +server and location level +since 0.7.7. + + + @@ -498,6 +545,8 @@ module.function http +server +location Sets an njs function @@ -534,6 +583,14 @@ + + +The directive can be specified on the +server and location level +since 0.7.7. + + + @@ -541,6 +598,8 @@ $variable [value] http +server +location 0.5.3 @@ -553,6 +612,14 @@ directive. + + +The directive can be specified on the +server and location level +since 0.7.7. + + +
diff -r e59e8645055d -r 986e1f930e3b xml/en/docs/stream/ngx_stream_js_module.xml --- a/xml/en/docs/stream/ngx_stream_js_module.xml Thu Aug 18 15:28:45 2022 +0100 +++ b/xml/en/docs/stream/ngx_stream_js_module.xml Thu Aug 18 15:44:39 2022 +0100 @@ -9,7 +9,7 @@ + rev="33">
@@ -381,6 +381,7 @@ export_name from module.js stream +server 0.4.0 @@ -402,6 +403,14 @@ Several js_import directives can be specified. + + +The directive can be specified on the +server level +since 0.7.7. + + + @@ -444,12 +453,21 @@ path stream +server 0.3.0 Sets an additional path for njs modules. + + +The directive can be specified on the +server level +since 0.7.7. + + + @@ -527,6 +545,7 @@ module.function stream +server Sets an njs function @@ -563,6 +582,14 @@ + + +The directive can be specified on the +server level +since 0.7.7. + + + @@ -570,6 +597,7 @@ $variable [value] stream +server 0.5.3 @@ -579,6 +607,14 @@ The value can contain text, variables, and their combination. + + +The directive can be specified on the +server level +since 0.7.7. + + +
diff -r e59e8645055d -r 986e1f930e3b xml/ru/docs/http/ngx_http_js_module.xml --- a/xml/ru/docs/http/ngx_http_js_module.xml Thu Aug 18 15:28:45 2022 +0100 +++ b/xml/ru/docs/http/ngx_http_js_module.xml Thu Aug 18 15:44:39 2022 +0100 @@ -9,7 +9,7 @@ + rev="36">
@@ -152,6 +152,7 @@ [buffer_type=строка | буфер] location +if in location limit_except 0.5.2 @@ -226,6 +227,14 @@ + + +Директива может быть указана внутри +блока if +начиная с 0.7.7. + + + @@ -233,6 +242,7 @@ функция | модуль.функция location +if in location limit_except @@ -241,6 +251,14 @@ можно ссылаться на функцию модуля. + + +Директива может быть указана внутри +блока if +начиная с 0.7.7. + + + @@ -393,6 +411,7 @@ функция | модуль.функция location +if in location limit_except 0.5.1 @@ -414,6 +433,14 @@ + + +Директива может быть указана внутри +блока if +начиная с 0.7.7. + + + @@ -422,6 +449,8 @@ имя_экспорта from модуль.js http +server +location 0.4.0 @@ -444,6 +473,14 @@ Директив js_import может быть несколько. + + +Директива может быть указана +на уровне server и location +начиная с 0.7.7. + + + @@ -484,12 +521,22 @@ путь http +server +location 0.3.0 Задаёт дополнительный путь для модулей njs. + + +Директива может быть указана +на уровне server и location +начиная с 0.7.7. + + + @@ -499,6 +546,8 @@ модуль.функция http +server +location Задаёт функцию njs @@ -535,6 +584,14 @@ + + +Директива может быть указана +на уровне server и location +начиная с 0.7.7. + + + @@ -542,6 +599,8 @@ $переменная [значение] http +server +location 0.5.3 @@ -554,6 +613,14 @@ директивы . + + +Директива может быть указана +на уровне server и location +начиная с 0.7.7. + + +
diff -r e59e8645055d -r 986e1f930e3b xml/ru/docs/stream/ngx_stream_js_module.xml --- a/xml/ru/docs/stream/ngx_stream_js_module.xml Thu Aug 18 15:28:45 2022 +0100 +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml Thu Aug 18 15:44:39 2022 +0100 @@ -9,7 +9,7 @@ + rev="33">
@@ -382,6 +382,7 @@ имя_экспорта from модуль.js stream +server 0.4.0 @@ -404,6 +405,14 @@ Директив js_import может быть несколько. + + +Директива может быть указана +на уровне server +начиная с 0.7.7. + + + @@ -511,12 +520,21 @@ путь stream +server 0.3.0 Задаёт дополнительный путь для модулей njs. + + +Директива может быть указана +на уровне server +начиная с 0.7.7. + + + @@ -526,6 +544,7 @@ модуль.функция stream +server Задаёт функцию njs @@ -562,6 +581,14 @@ + + +Директива может быть указана +на уровне server +начиная с 0.7.7. + + + @@ -569,6 +596,7 @@ $переменная [значение] stream +server 0.5.3 @@ -578,6 +606,14 @@ В качестве значения можно использовать текст, переменные и их комбинации. + + +Директива может быть указана +на уровне server +начиная с 0.7.7. + + +