1
0
mirror of https://git.cloudron.io/cloudron/freshrss-app synced 2025-09-02 05:15:12 +00:00

Better apache configs

This commit is contained in:
Girish Ramakrishnan
2018-05-21 10:07:27 -07:00
parent e3f3ca1de7
commit 345421b682
3 changed files with 26 additions and 8 deletions

18
apache/freshrss.conf Normal file
View File

@@ -0,0 +1,18 @@
<VirtualHost *:8000>
DocumentRoot /app/code
AllowEncodedSlashes On
ErrorLog /dev/stderr
CustomLog /dev/stdout combined
<Directory /app/code/>
Options +FollowSymLinks
AllowOverride All
Require all granted
<IfModule mod_php7.c>
php_value memory_limit 64m
</IfModule>
</Directory>
</VirtualHost>

17
apache/mpm_prefork.conf Normal file
View File

@@ -0,0 +1,17 @@
<IfModule mpm_prefork_module>
# On startup, start these many servers
StartServers 2
# At any given time, keep atleast these many servers
MinSpareServers 2
# At any given time, keep atmost these many idle servers (this is always >= MinSpareServers+1)
MaxSpareServers 3
# Maximum number of servers at any given instant. Requests will be queued after this
MaxRequestWorkers 6
# Recycle process after handling these many requests. This protected against accidental memory leaks
MaxConnectionsPerChild 100
</IfModule>