### Install Docker Source: https://github.com/xtrime-ru/telegramrss/blob/master/README.md Install Docker on the system. This is the first step in the installation process. ```shell curl -fsSL https://get.docker.com -o get-docker.sh sudo sh ./get-docker.sh ``` -------------------------------- ### Upgrade to v4 Source: https://github.com/xtrime-ru/telegramrss/blob/master/README.md Upgrade to v4 by pulling the latest code and images, backing up the old configuration, and applying the new example configuration. ```shell git pull docker compose pull cp .env.docker .env.docker.v1 cat .env.docker.example > .env.docker #check new config and move old options from your .env.docker.v1 to new .env.docker docker compose up -d ``` -------------------------------- ### Start TelegramRSS Container Source: https://github.com/xtrime-ru/telegramrss/blob/master/README.md Pull the Docker images and start the TelegramRSS container in detached mode. ```shell docker compose pull docker compose up -d ``` -------------------------------- ### Nginx Reverse Proxy Configuration Source: https://github.com/xtrime-ru/telegramrss/blob/master/README.md Example Nginx configuration to proxy requests to the RSS server. Set REAL_IP_HEADER=X-Forwarded-For in .env.docker to retrieve the client IP from nginx. ```nginx server { listen %ip%:443 ssl; server_name tg.i-c-a.su; ssl_certificate /home/admin/conf/web/ssl.tg.i-c-a.su.pem; ssl_certificate_key /home/admin/conf/web/ssl.tg.i-c-a.su.key; location / { proxy_set_header Host $http_host; proxy_set_header SERVER_PORT $server_port; proxy_set_header REMOTE_ADDR $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; fastcgi_param REMOTE_ADDR $http_x_real_ip; proxy_http_version 1.1; proxy_set_header Connection "keep-alive"; proxy_pass http://127.0.0.1:9504; } } ``` -------------------------------- ### Clone and Enter TelegramRSS Repository Source: https://github.com/xtrime-ru/telegramrss/blob/master/README.md Clone the TelegramRSS repository and navigate into the project directory. ```shell git clone https://github.com/xtrime-ru/TelegramRSS.git TelegramRSS cd TelegramRSS ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.