mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives URL
Domain of messages in pgweb's search is currently hardcoded as postgresql.org in templates/search/listsearch.html. This patch allows to use another domain for links to messages in archives in the search function. Since pgarchives' domain can differ from pgweb's one, a new variable is defined for that purpose instead of using SITE_ROOT.
This commit is contained in:

committed by
Magnus Hagander

parent
634d2f35cf
commit
5a1a0e23ee
@ -167,6 +167,7 @@ VARNISH_PURGERS = () # Extra servers that
|
||||
DO_ESI = False # Generate ESI tags
|
||||
ARCHIVES_SEARCH_SERVER = "archives.postgresql.org" # Where to post REST request for archives search
|
||||
ARCHIVES_SEARCH_PLAINTEXT = False # Contact ARCHIVES_SEARCH_SERVER with http instead of https
|
||||
ARCHIVES_FRONT_ADDRESS = "https://www.postgresql.org" # Domain to read archives messages
|
||||
FRONTEND_SMTP_RELAY = "magus.postgresql.org" # Where to relay user generated email
|
||||
OAUTH = {} # OAuth providers and keys
|
||||
PGDG_ORG_ID = -1 # id of the PGDG organisation entry
|
||||
|
Reference in New Issue
Block a user