summarylogtreecommitdiffstats
path: root/mantisbt.uwsgi
diff options
context:
space:
mode:
Diffstat (limited to 'mantisbt.uwsgi')
-rw-r--r--mantisbt.uwsgi33
1 files changed, 33 insertions, 0 deletions
diff --git a/mantisbt.uwsgi b/mantisbt.uwsgi
new file mode 100644
index 00000000000..fb6f31f5415
--- /dev/null
+++ b/mantisbt.uwsgi
@@ -0,0 +1,33 @@
+[uwsgi]
+procname-master = mantisbt
+plugins = php
+master = true
+socket = /run/%n/%n.sock
+stats = /run/%n/%n-stats.sock
+uid = mantisbt
+gid = mantisbt
+processes = 10
+cheaper = 2
+cheaper-step = 1
+idle = 600
+die-on-idle = true
+touch-reload = %p
+
+php-allowed-ext = .php
+php-docroot = /usr/share/webapps/mantisbt
+php-index = index.php
+php-set = date.timezone=Europe/Berlin
+php-set = open_basedir=/tmp/:/usr/share/fonts/TTF:/usr/share/webapps/mantisbt:/usr/share/webapps/mantisbt/core:/etc/webapps/mantisbt
+php-set = session.save_path=/tmp
+php-set = session.gc_maxlifetime 21600
+php-set = session.gc_divisor 500
+php-set = session.gc_probability 1
+php-set = post_max_size=64M
+php-set = upload_max_filesize=64M
+php-set = always_populate_raw_post_data=-1
+
+php-set = extension=curl
+php-set = extension=gd
+php-set = extension=intl
+php-set = extension=mysqli
+php-set = extension=pdo_mysql