mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 14:47:35 +02:00
Updated Installation (markdown)
@@ -1,14 +1,39 @@
|
|||||||
In order to install RSS-Bridge on your own web server* do as follows:
|
## How to install in Debian 11
|
||||||
|
|
||||||
* Make sure your web server meets all [requirements](Requirements)
|
```bash
|
||||||
* Download the ZIP file of the [last stable release](https://github.com/RSS-Bridge/rss-bridge/releases)
|
apt install nginx php-fpm php-mbstring php-simplexml php-curl
|
||||||
* Place all files on your web server
|
rm /etc/nginx/sites-enabled/default
|
||||||
|
cd /var/www
|
||||||
|
git clone https://github.com/RSS-Bridge/rss-bridge.git
|
||||||
|
chown -R www-data:www-data ./
|
||||||
|
```
|
||||||
|
|
||||||
For linux hosts:
|
Create `/etc/nginx/sites-enabled/rssbridge`:
|
||||||
* Grant read-write-access for `www-data` to the `./cache` directory (`chown -R www-data ./cache`)
|
|
||||||
|
|
||||||
You have successfully installed RSS-Bridge.
|
```nginx
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
root /var/www/rss-bridge;
|
||||||
|
access_log /var/log/nginx/rssbridge.access.log;
|
||||||
|
error_log /var/log/nginx/rssbridge.error.log;
|
||||||
|
index index.php;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
include snippets/fastcgi-php.conf;
|
||||||
|
fastcgi_pass unix:/run/php/php-fpm.sock;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl reload nginx
|
||||||
|
````
|
||||||
|
|
||||||
*If you do not have your own web server, you can [create one](Web-server-links) in about five minutes for free.
|
The application is now browsable at its ip address and port 80.
|
||||||
|
|
||||||
Instructions for Docker setups are at [Docker Installation](Docker)
|
You might want to add a `server_name` to the nginx config and remove
|
||||||
|
it as a default server.
|
Reference in New Issue
Block a user