summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-11-12 16:45:29 +0300
committerAndrei Belov <defan@nginx.com>2021-11-12 16:45:29 +0300
commit28eaf9d37842a5d79d8081cc14fbf4cc7e7d49a5 (patch)
treed266b673ca1b0e989efc5e1c04587a714a22ad7d /pkg/rpm/rpmbuild
parentaed1c55a06794b6b76c1dfede6fe263f6aa9656f (diff)
downloadunit-28eaf9d37842a5d79d8081cc14fbf4cc7e7d49a5.tar.gz
unit-28eaf9d37842a5d79d8081cc14fbf4cc7e7d49a5.tar.bz2
Packages: added support for Fedora 35.
Diffstat (limited to 'pkg/rpm/rpmbuild')
-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"
+ }
+ }
+}