mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-03 14:07:04 -05:00
* Docker image alternative using Ubuntu
Ubuntu seems to be faster, cf. e.g. PHPBench.
It is quite usual for Docker images to offer both a Debian/Ubuntu and an
Alpine version, so we could also do the same if there is any need.
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2202
* Only explicit use of Apache confs
Fix double-logging issue
* Explicit ServerTokens OS
Default Apache configuration in Ubuntu, which was removed when disabling all confs.
It is also the default Apache configuration in Alpine.
* Take advantage of syslog for actualization
Same than for Alpine
43ab629e27
* COPY_SYSLOG_TO_STDERR
Same as https://github.com/FreshRSS/FreshRSS/pull/2213
* Update to libapache2-mod-php instead of php-fpm
* Default to Ubuntu
Ubuntu mod-php wins, being ~14% faster than Ubuntu php-fpm (which was ~300% faster than Alpine mod-php)
29 lines
605 B
Plaintext
29 lines
605 B
Plaintext
ServerName freshrss.localhost
|
|
Listen 0.0.0.0:80
|
|
DocumentRoot /var/www/FreshRSS/p/
|
|
CustomLog /dev/stdout combined
|
|
ErrorLog /dev/stderr
|
|
AllowEncodedSlashes On
|
|
ServerTokens OS
|
|
|
|
<Directory />
|
|
AllowOverride None
|
|
Options FollowSymLinks
|
|
Require all denied
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p>
|
|
AllowOverride None
|
|
Include /var/www/FreshRSS/p/.htaccess
|
|
Options FollowSymLinks
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p/api>
|
|
Include /var/www/FreshRSS/p/api/.htaccess
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p/i>
|
|
IncludeOptional /var/www/FreshRSS/p/i/.htaccess
|
|
</Directory>
|