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