2019-07-31 13:12:12 +00:00
|
|
|
# N.B. the unix:/var/run/php/php7.2-fpm.sock path used repeatedly below will
|
|
|
|
# vary from system to system and will be probably need to be changed
|
|
|
|
|
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerName localhost
|
|
|
|
# adjust according to your installation path
|
|
|
|
DocumentRoot /usr/share/arsse/www
|
|
|
|
|
|
|
|
# adjust according to your installation path
|
|
|
|
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php"
|
|
|
|
ProxyPreserveHost On
|
|
|
|
|
2019-12-05 18:02:02 +00:00
|
|
|
# Nextcloud News v1.2, Tiny Tiny RSS API, TT-RSS newsfeed icons
|
2019-07-31 13:12:12 +00:00
|
|
|
<LocationMatch "(/index\.php/apps/news/api/?.+|/tt-rss/(api|feed-icons))">
|
|
|
|
ProxyPass "unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/usr/share/arsse"
|
|
|
|
</LocationMatch>
|
|
|
|
|
2019-12-05 18:02:02 +00:00
|
|
|
# Nextcloud News API detection, Fever API
|
2019-07-31 13:12:12 +00:00
|
|
|
<LocationMatch "(/index\.php/apps/news/api/?$|/fever)">
|
|
|
|
# these locations should not be behind HTTP authentication
|
|
|
|
ProxyPass "unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/usr/share/arsse"
|
|
|
|
</LocationMatch>
|
|
|
|
</VirtualHost>
|