add X-Real-IP for searxng

This commit is contained in:
Arya 2023-10-13 19:39:26 +05:30
parent 6da4d4cf99
commit a4aeec05ac
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -192,7 +192,9 @@ hyperpipebackend.{{ server_prefix }}.projectsegfau.lt {
search.{{ server_prefix }}.projectsegfau.lt search.projectsegfau.lt s.psf.lt s.{{ server_prefix }}.psf.lt { search.{{ server_prefix }}.projectsegfau.lt search.projectsegfau.lt s.psf.lt s.{{ server_prefix }}.psf.lt {
import def import def
import torloc search import torloc search
reverse_proxy :8081 reverse_proxy :8081 {
header_up X-Real-IP {remote_host}
}
@api { @api {
path /config path /config
path /healthz path /healthz