File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 22Nginx Python Module
33*******************
44
5- The module allows using Python at Nginx configuration stage and in runtime.
5+ The module allows using Python in Nginx both at configuration stage and in
6+ runtime.
67
78
89Compatibility
910=============
1011
11- - python version supported: 2.7
12+ - nginx version >= 1.11.5 (HTTP-only version can be compiled with 1.11.2)
13+ - Python version: 2.7
1214- tested on recent Linux, FreeBSD and MacOS
1315
1416
@@ -161,6 +163,16 @@ The list of classes and functions, unblocked by the module:
161163 functions
162164
163165
166+ Default Python namespace
167+ ========================
168+
169+ For each nginx configuration a new default Python namespace is created. That
170+ namespace is shared between all HTTP requests or Stream sessions. HTTP and
171+ Stream have separate namespaces however. The namespace can be initialized with
172+ the ``python `` and ``python_include `` directives, which operate at configuration
173+ time.
174+
175+
164176Examples
165177========
166178
You can’t perform that action at this time.
0 commit comments