From 11f416878a9f5f7ec13d548b85982c5de5b55a11 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Fri, 4 Nov 2022 13:55:16 +0400 Subject: Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones. Refs: https://github.com/nginx/unit/issues/778 --- pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config (limited to 'pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config') diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config new file mode 100644 index 00000000..c98d1a52 --- /dev/null +++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config @@ -0,0 +1,16 @@ +{ + "applications": { + "example_python": { + "type": "python 3.8", + "processes": 2, + "path": "/usr/share/doc/unit-python38/examples/python-app", + "module": "wsgi" + } + }, + + "listeners": { + "*:8400": { + "pass": "applications/example_python" + } + } +} -- cgit