summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-11-16 17:06:42 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-11-16 17:06:42 +0400
commit0feab91c5ba1bfd3e1e71cadb4cb0687bae846cd (patch)
treeb9ef7c40fd1a3851a82b9a3796125040bd2a48f6 /pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config
parent09ac678943e253dfea65f84cd84963d863580efe (diff)
downloadunit-0feab91c5ba1bfd3e1e71cadb4cb0687bae846cd.tar.gz
unit-0feab91c5ba1bfd3e1e71cadb4cb0687bae846cd.tar.bz2
Packages: added Fedora 37 support.
Diffstat (limited to '')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config
new file mode 100644
index 00000000..ee653db6
--- /dev/null
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python311-config
@@ -0,0 +1,16 @@
+{
+ "applications": {
+ "example_python": {
+ "type": "python 3.11",
+ "processes": 2,
+ "path": "/usr/share/doc/unit-python311/examples/python-app",
+ "module": "wsgi"
+ }
+ },
+
+ "listeners": {
+ "*:8400": {
+ "pass": "applications/example_python"
+ }
+ }
+}