Skip to content

Commit 36b70e1

Browse files
committed
Updated README.
1 parent 740057a commit 36b70e1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ Compatibility
1717
Build
1818
=====
1919

20-
Things to do after downloading nginx::
20+
Configuring nginx with the module::
2121

2222
# static module
2323
$ ./configure --add-module=/path/to/nginx-python-module
2424

2525
# dynamic module
2626
$ ./configure --add-dynamic-module=/path/to/nginx-python-module
2727

28-
# sync-only version (no blocking operation substitution)
28+
# sync-only version (no blocking operations substitution)
2929
$ ./configure --add-module=/path/to/nginx-python-module
3030
--with-cc-opt=-DNGX_PYTHON_SYNC=1
3131

32-
# a specific Python installation can be used
33-
# by exporting the path to python-config
32+
# a specific Python installation can be used by exporting
33+
# the path to python-config prior to configuring
3434
$ export PYTHON_CONFIG=/path/to/python-config
3535

3636

@@ -210,10 +210,13 @@ Python variable::
210210
}
211211
}
212212

213-
Python access and content handlers::
213+
Python access and content handlers. Dynamic Python module is used in this
214+
example::
214215

215216
# nginx.conf
216217

218+
load_module modules/ngx_python_module.so;
219+
217220
events {}
218221

219222
http {

0 commit comments

Comments
 (0)