make /pic/ work for libreddit

This commit is contained in:
2025-07-28 12:09:26 +05:30
parent 386b6f2059
commit 83e38938c4
2 changed files with 4 additions and 1 deletions

View File

@@ -136,6 +136,9 @@ n.eu.psf.lt n.us.psf.lt n.in.psf.lt {
{% endif %}
libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt {
reverse_proxy :6464
route {
reverse_proxy /pic/* :6465
}
import def
log {
# This is temporarily required to monitor nitter traffic due to scrapers being more active, so we need to monitor and rate limit them at a later date.

View File

@@ -114,7 +114,7 @@ apps:
- name: redlib
image: quay.io/redlib/redlib:latest
ports:
- "8080"
- "6465:8080"
environment:
FRONT_PAGE: popular
COMMENT_SORT: new