summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.9-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-05-27 13:12:52 +0300
committerAndrei Belov <defan@nginx.com>2021-05-27 13:12:52 +0300
commite00ad18d8082f9db5c49c220d796c78beab53cae (patch)
tree8271a1f53d8fb7caf2781b7af217ef5f5d9e5b70 /pkg/deb/debian.module/unit.example-python3.9-config
parent753ce145f7cfbfffab34d18ff74236f09e471f18 (diff)
downloadunit-e00ad18d8082f9db5c49c220d796c78beab53cae.tar.gz
unit-e00ad18d8082f9db5c49c220d796c78beab53cae.tar.bz2
Packages: added Ubuntu 21.04 "hirsute" support.
Diffstat (limited to 'pkg/deb/debian.module/unit.example-python3.9-config')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.9-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.9-config b/pkg/deb/debian.module/unit.example-python3.9-config
new file mode 100644
index 00000000..fdb7e9db
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.9-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.9",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.9/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}