aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/cgit/cgit/cgitrc6
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg9
-rw-r--r--terminaldweller.com/rss-bridge/docker-compose.yaml4
-rw-r--r--terminaldweller.com/rss-bridge/whitelist.txt17
4 files changed, 32 insertions, 4 deletions
diff --git a/terminaldweller.com/cgit/cgit/cgitrc b/terminaldweller.com/cgit/cgit/cgitrc
index 8306a30..4db7d5b 100644
--- a/terminaldweller.com/cgit/cgit/cgitrc
+++ b/terminaldweller.com/cgit/cgit/cgitrc
@@ -3,7 +3,7 @@
#
#
# Enable caching of up to 1000 output entries
-# cache-size=5
+cache-size=100
## ttl for root page
cache-root-ttl=5
@@ -15,7 +15,7 @@ cache-repo-ttl=5
cache-dynamic-ttl=5
## ttl for static pages (addressed by SHA-1)
-cache-static-ttl=-1
+cache-static-ttl=-5
# css
css=/cgit/cgit.css
@@ -43,6 +43,8 @@ enable-log-linecount=1
enable-remote-branches=1
enable-tree-linenumbers=1
+enable-blame=1
+
# summary info
summary-branches=10
summary-log=10
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index 6408b44..2b433d4 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -125,6 +125,7 @@ frontend https
acl main-host-s req.ssl_sni -i terminaldweller.com
acl doh2-host-s req.ssl_sni -i doh2.terminaldweller.com
acl pastebin-host-s req.ssl_sni -i pastebin.terminaldweller.com
+ acl icanhazallips-host-s req.ssl_sni -i icanhazallips.terminaldweller.com
#Conditions
use_backend mail-backend-s if mail-host-s
#use_backend chat-backend-s if chat-host-s
@@ -143,6 +144,7 @@ frontend https
use_backend main-backend-s if main-host-s
use_backend doh2-backend-s if doh2-host-s
use_backend pastebin-backend-s if pastebin-host-s
+ use_backend icanhazallips-backend-s if icanhazallips-host-s
#frontend jabber5222
# bind *:5222
@@ -211,7 +213,7 @@ frontend mail-imaps
frontend mail-pop3
bind *:110
mode http
- acl mail-host hdr_sub(host) -i mail.terminalweller.com
+ acl mail-host hdr_sub(host) -i mail.terminaldweller.com
use_backend mail-backend-pop3 if mail-host
frontend mail-pop3s
bind *:995
@@ -434,3 +436,8 @@ backend pastebin-backend-s
mode tcp
option tcp-check
server main-host-s 185.130.47.208:3010
+
+backend icanhazallips-backend-s
+ mode tcp
+ option tcp-check
+ server main-host-s 185.130.47.208:9380
diff --git a/terminaldweller.com/rss-bridge/docker-compose.yaml b/terminaldweller.com/rss-bridge/docker-compose.yaml
index 2dd98f4..4ddf7e1 100644
--- a/terminaldweller.com/rss-bridge/docker-compose.yaml
+++ b/terminaldweller.com/rss-bridge/docker-compose.yaml
@@ -9,6 +9,8 @@ services:
restart: unless-stopped
depends_on:
- nginx
+ volumes:
+ - ./whitelist.txt:/app/whitelist.txt
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
# - /etc/letsencrypt/archive/rssgen.terminaldweller.com/:/certs/:ro
@@ -31,6 +33,6 @@ services:
- NET_BIND_SERVICE
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- - /etc/letsencrypt/archive/browsh.terminaldweller.com/:/certs/:ro
+ - /etc/letsencrypt/archive/rssgen.terminaldweller.com/:/certs/:ro
networks:
rssbridgenet:
diff --git a/terminaldweller.com/rss-bridge/whitelist.txt b/terminaldweller.com/rss-bridge/whitelist.txt
new file mode 100644
index 0000000..02c70f0
--- /dev/null
+++ b/terminaldweller.com/rss-bridge/whitelist.txt
@@ -0,0 +1,17 @@
+Youtube
+Twitter
+Telegram
+Reddit
+Filter
+FeedMerge
+ThePirateBay
+WikiLeaksBridge
+MozillaSecurityBridge
+OpenwrtSecurityBridge
+HaveIBeenPwnedBridge
+DockerHubBridge
+DiscogsBridge
+DevToBridge
+CVEDetailsBridge
+BinanceBridge
+BakaUpdatesMangaReleasesBridge