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 %} {% endif %}
libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt { libreddit.{{ server_prefix }}.projectsegfau.lt libreddit.projectsegfau.lt lr.psf.lt lr.{{ server_prefix }}.psf.lt {
reverse_proxy :6464 reverse_proxy :6464
route {
reverse_proxy /pic/* :6465
}
import def import def
log { 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. # 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 - name: redlib
image: quay.io/redlib/redlib:latest image: quay.io/redlib/redlib:latest
ports: ports:
- "8080" - "6465:8080"
environment: environment:
FRONT_PAGE: popular FRONT_PAGE: popular
COMMENT_SORT: new COMMENT_SORT: new