diff options
author | 2025-03-02 19:32:33 -0800 | |
---|---|---|
committer | 2025-03-02 19:32:33 -0800 | |
commit | 8b16dd20f6544af3eedf286e23c0d34ab525736c (patch) | |
tree | ec284e22a046c4c8e9626e3fa64a000a2747bf84 /README.md | |
parent | b183aa798af48af556496c42780d6e844172cf44 (diff) | |
parent | 00a24e2f694a319a5e6cb070dddfff2dae892378 (diff) | |
download | rss-bridge-master.tar.gz rss-bridge-master.tar.zst rss-bridge-master.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 16 insertions, 21 deletions
@@ -29,7 +29,7 @@ Requires minimum PHP 7.4. ||| ||| -## A subset of bridges (16/447) +## A subset of bridges (15/447) * `CssSelectorBridge`: [Scrape out a feed using CSS selectors](https://rss-bridge.org/bridge01/#bridge-CssSelectorBridge) * `FeedMergeBridge`: [Combine multiple feeds into one](https://rss-bridge.org/bridge01/#bridge-FeedMergeBridge) @@ -44,7 +44,6 @@ Requires minimum PHP 7.4. * `ThePirateBayBridge:` [Fetches torrents by search/user/category](https://rss-bridge.org/bridge01/#bridge-ThePirateBayBridge) * `TikTokBridge`: [Fetches posts by username](https://rss-bridge.org/bridge01/#bridge-TikTokBridge) * `TwitchBridge`: [Fetches videos from channel](https://rss-bridge.org/bridge01/#bridge-TwitchBridge) -* `VkBridge`: [Fetches posts from user/group](https://rss-bridge.org/bridge01/#bridge-VkBridge) * `XPathBridge`: [Scrape out a feed using XPath expressions](https://rss-bridge.org/bridge01/#bridge-XPathBridge) * `YoutubeBridge`: [Fetches videos by username/channel/playlist/search](https://rss-bridge.org/bridge01/#bridge-YoutubeBridge) * `YouTubeCommunityTabBridge`: [Fetches posts from a channel's community tab](https://rss-bridge.org/bridge01/#bridge-YouTubeCommunityTabBridge) @@ -72,27 +71,27 @@ useradd --shell /bin/bash --create-home rss-bridge cd /var/www -# Create folder and change ownership +# Create folder and change its ownership to rss-bridge mkdir rss-bridge && chown rss-bridge:rss-bridge rss-bridge/ -# Become user +# Become rss-bridge su rss-bridge -# Fetch latest master +# Clone master branch into existing folder git clone https://github.com/RSS-Bridge/rss-bridge.git rss-bridge/ cd rss-bridge -# Copy over the default config +# Copy over the default config (OPTIONAL) cp -v config.default.ini.php config.ini.php -# Give full permissions only to owner (rss-bridge) -chmod 700 -R ./ +# Recursively give full permissions to user/owner +chmod 700 --recursive ./ -# Give read and execute to others (nginx and php-fpm) +# Give read and execute to others on folder ./static chmod o+rx ./ ./static -# Give read to others (nginx) -chmod o+r -R ./static +# Recursively give give read to others on folder ./static +chmod o+r --recursive ./static ``` Nginx config: @@ -110,17 +109,14 @@ server { error_log /var/log/nginx/rss-bridge.error.log; log_not_found off; - # Intentionally not setting a root folder here - - # autoindex is off by default but feels good to explicitly turn off - autoindex off; + # Intentionally not setting a root folder # Static content only served here location /static/ { alias /var/www/rss-bridge/static/; } - # Pass off to php-fpm when location is exactly / + # Pass off to php-fpm only when location is EXACTLY == / location = / { root /var/www/rss-bridge/; include snippets/fastcgi-php.conf; @@ -128,12 +124,12 @@ server { fastcgi_pass unix:/run/php/rss-bridge.sock; } - # Reduce spam + # Reduce log noise location = /favicon.ico { access_log off; } - # Reduce spam + # Reduce log noise location = /robots.txt { access_log off; } @@ -154,11 +150,11 @@ listen = /run/php/rss-bridge.sock listen.owner = www-data listen.group = www-data -# Create 10 workers standing by to serve requests +; Create 10 workers standing by to serve requests pm = static pm.max_children = 10 -# Respawn worker after 500 requests (workaround for memory leaks etc.) +; Respawn worker after 500 requests (workaround for memory leaks etc.) pm.max_requests = 500 ``` @@ -464,7 +460,6 @@ See [CONTRIBUTORS.md](CONTRIBUTORS.md) RSS-Bridge uses caching to prevent services from banning your server for repeatedly updating feeds. The specific cache duration can be different between bridges. -Cached files are deleted automatically after 24 hours. RSS-Bridge allows you to take full control over which bridges are displayed to the user. That way you can host your own RSS-Bridge service with your favorite collection of bridges! |