summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config
new file mode 100644
index 00000000..1de2eba6
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python312-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.12",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python312/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}