summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-python3.12-config
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-10-17 16:22:44 -0700
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-02-09 14:31:36 -0800
commit3a2687bb714226ab13111cac2149afc660fa70e7 (patch)
treef75f4ee903ea26127317c434936be8bf2e7d239e /pkg/deb/debian.module/unit.example-python3.12-config
parent9e986704480de0d6b74dafa5ebcf775eaa88333a (diff)
downloadunit-3a2687bb714226ab13111cac2149afc660fa70e7.tar.gz
unit-3a2687bb714226ab13111cac2149afc660fa70e7.tar.bz2
Packages: added Ubuntu 23.10 "mantic" support.
Diffstat (limited to '')
-rw-r--r--pkg/deb/debian.module/unit.example-python3.12-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-python3.12-config b/pkg/deb/debian.module/unit.example-python3.12-config
new file mode 100644
index 00000000..37b65f1f
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-python3.12-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.12",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python3.12/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}