TTRSS
install
# install docker
# https://docs.docker.com/engine/install/
# install docker-compose
# https://docs.docker.com/compose/install/
# install ttrss
# http://ttrss.henry.wang/zh/#%E5%85%B3%E4%BA%8E
mkdir ttrss && cd ttrss
wget https://github.com/HenryQW/Awesome-TTRSS/blob/main/docker-compose.yml
# modify following the yml
# hint1: SELF_URL_PATH: only the domain name! and use https.
# run at foreground
docker-compose upbash
Nginx
As sub-domain mode:
- recommend, because ttrss will also create other sub-directories... so you don't want to pollute your sub-dir, right?
- however, you need to issue a new ssl certicifate for the sub-domain. :-(
# upstream redirected to share 443
# access at ttrss.kiui.moe
server {
listen10243;
listen;
gzipon;
server_name;
ssl_certificate;
ssl_certificate_key;
location {
proxy_redirectoff;
proxy_pass;
proxy_set_header$http_host;
proxy_set_header$remote_addr;
proxy_set_headeron;
proxy_set_header$proxy_add_x_forwarded_for;
proxy_set_header$scheme;
proxy_set_header;
client_max_body_size100m;
client_body_buffer_size128k;
proxy_buffer_size4k;
proxy_buffers432k;
proxy_busy_buffers_size64k;
proxy_temp_file_write_size64k;
}
}nginx
As sub-directory mode: [DO NOT RECOMMEND!]
- If use this mode, all the APIs in the web frontend needs to be modified. e.g., the fever API should be
https://kiui.moe/ttrss/plugins/fever, but the web frontend showshttps://kiui.moe/plugins/fever/. This will also lead to several bugs.
server {
# ...
# access at kiui.moe/ttrss/
# SELF_URL_PATH = https://kiui.moe/
location {
rewrite$1;
proxy_redirect$http_host$http_host/ttrss;
proxy_pass; # local service at 181
proxy_set_header$http_host;
proxy_set_header$remote_addr;
proxy_set_headeron;
proxy_set_header$proxy_add_x_forwarded_for;
proxy_set_header$scheme;
proxy_set_header;
client_max_body_size100m;
client_body_buffer_size128k;
proxy_buffer_size4k;
proxy_buffers432k;
proxy_busy_buffers_size64k;
proxy_temp_file_write_size64k;
}
}nginx
access web frontend
At kiui.moe/ttrss/ or ttrss.kiui.moe.
Default account is admin. Remember to change password at once.
fever api for 3rd applications
- activate in prefs.
- set a new password.