summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.8-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-12-02 10:25:19 +0300
committerAndrei Belov <defan@nginx.com>2019-12-02 10:25:19 +0300
commit0ec222bbb202194327c2e76d48f0b2608b37c162 (patch)
treee34852535eda6676eb0b8ab760a498356fff6a16 /pkg/deb/debian.module/unit.example-python3.8-config
parent9d563a20c5e1beb34dbf42e3bb7c88254cd8c2ce (diff)
parent5758a0637469bb29b3568d3311bc58505f82fc0c (diff)
downloadunit-0ec222bbb202194327c2e76d48f0b2608b37c162.tar.gz
unit-0ec222bbb202194327c2e76d48f0b2608b37c162.tar.bz2
Merged with the default branch.
Diffstat (limited to 'pkg/deb/debian.module/unit.example-python3.8-config')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.8-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.8-config b/pkg/deb/debian.module/unit.example-python3.8-config
new file mode 100644
index 00000000..435e025f
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.8-config
@@ -0,0 +1,17 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.8",
+ "user": "nobody",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.8/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}