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:
18
apache/freshrss.conf
Normal file
18
apache/freshrss.conf
Normal 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
17
apache/mpm_prefork.conf
Normal 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>
|
||||
|
Reference in New Issue
Block a user