SearXNG: changed instance's name
This commit is contained in:
parent
5c844bdaef
commit
3d9ff9f9e6
@ -3,8 +3,8 @@ version: '3.7'
|
|||||||
services:
|
services:
|
||||||
redlib:
|
redlib:
|
||||||
container_name: redlib
|
container_name: redlib
|
||||||
image: quay.io/redlib/redlib:latest
|
#image: quay.io/redlib/redlib:latest
|
||||||
#image: quay.io/redlib/redlib:latest-arm
|
image: quay.io/redlib/redlib:latest-arm
|
||||||
security_opt:
|
security_opt:
|
||||||
#- seccomp="seccomp-redlib.json"
|
#- seccomp="seccomp-redlib.json"
|
||||||
- no-new-privileges
|
- no-new-privileges
|
||||||
@ -16,6 +16,8 @@ services:
|
|||||||
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
|
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
|
||||||
- REDLIB_DEFAULT_THEME=black
|
- REDLIB_DEFAULT_THEME=black
|
||||||
- REDLIB_DEFAULT_SHOW_NSFW=on
|
- REDLIB_DEFAULT_SHOW_NSFW=on
|
||||||
|
- RUST_LOG=redlib=trace #logging on the crate
|
||||||
|
#- RUST_LOG=trace
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||||
|
@ -145,18 +145,17 @@
|
|||||||
@l host l.{$HOSTNAME}
|
@l host l.{$HOSTNAME}
|
||||||
handle @l {
|
handle @l {
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
reverse_proxy {{ vultr_private_ip }}:8882
|
reverse_proxy {
|
||||||
# reverse_proxy {
|
to {{ oracle1_private_ip }}:8882
|
||||||
# to {{ oracle1_private_ip }}:8882
|
to {{ oracle2_private_ip }}:8882
|
||||||
# to {{ oracle2_private_ip }}:8882
|
to {{ oracle3_private_ip }}:8882
|
||||||
# to {{ oracle3_private_ip }}:8882
|
to {{ oracle4_private_ip }}:8882
|
||||||
# to {{ oracle4_private_ip }}:8882
|
lb_policy ip_hash
|
||||||
# lb_policy ip_hash
|
lb_try_duration 5s
|
||||||
# lb_try_duration 5s
|
lb_try_interval 1s
|
||||||
# lb_try_interval 1s
|
fail_duration 30s
|
||||||
# fail_duration 30s
|
max_fails 3
|
||||||
# max_fails 3
|
}
|
||||||
# }
|
|
||||||
header {
|
header {
|
||||||
Content-Security-Policy "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"
|
Content-Security-Policy "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"
|
||||||
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
|
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
|
||||||
|
@ -3,7 +3,7 @@ general:
|
|||||||
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
||||||
debug: false
|
debug: false
|
||||||
# displayed name
|
# displayed name
|
||||||
instance_name: "SearXNG"
|
instance_name: "OpnXNG"
|
||||||
# For example: https://example.com/privacy
|
# For example: https://example.com/privacy
|
||||||
privacypolicy_url: false
|
privacypolicy_url: false
|
||||||
# use true to use your own donation page written in searx/info/en/donate.md
|
# use true to use your own donation page written in searx/info/en/donate.md
|
||||||
@ -217,11 +217,8 @@ hostname_replace:
|
|||||||
'(.*\.)?youtube\.com$': 'invidious.fdn.fr'
|
'(.*\.)?youtube\.com$': 'invidious.fdn.fr'
|
||||||
'(.*\.)?youtu\.be$': 'invidious.fdn.fr'
|
'(.*\.)?youtu\.be$': 'invidious.fdn.fr'
|
||||||
'(.*\.)?youtube-noocookie\.com$': 'invidious.fdn.fr'
|
'(.*\.)?youtube-noocookie\.com$': 'invidious.fdn.fr'
|
||||||
'(.*\.)?reddit\.com$': 'l.opnxng.com'
|
'(.*\.)?reddit\.com$': 'libreddit.bus-hit.me'
|
||||||
'(.*\.)?redd\.it$': 'l.opnxng.com'
|
'(.*\.)?redd\.it$': 'libreddit.bus-hit.me'
|
||||||
# '(.*\.)?libi.opnxng\.com$': 'l.opnxng.com'
|
|
||||||
# '(.*\.)?reddit\.com$': 'old.reddit.com'
|
|
||||||
# '(.*\.)?redd\.it$': 'old.reddit.com'
|
|
||||||
'(.*\.)?medium\.com$': 'm.opnxng.com'
|
'(.*\.)?medium\.com$': 'm.opnxng.com'
|
||||||
'fandom\.com$': 'z.opnxng.com'
|
'fandom\.com$': 'z.opnxng.com'
|
||||||
'dic\.academic\.ru$': 'akademik.bloat.cat'
|
'dic\.academic\.ru$': 'akademik.bloat.cat'
|
||||||
|
@ -5,8 +5,6 @@ config:
|
|||||||
compose:
|
compose:
|
||||||
oracle4:
|
oracle4:
|
||||||
- paulgo
|
- paulgo
|
||||||
vultr:
|
|
||||||
- teddit
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user