update header + add searxng limiter (faut une db redis pr marcher)

This commit is contained in:
Viyurz 2023-11-23 10:12:30 +00:00
parent efc9f117f9
commit cad41c2c62
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -66,8 +66,6 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header Accept-Encoding "";
# The `upstream` directives ensure that you have a http/1.1 connection
# This enables the keepalive option and better performance
@ -135,6 +133,7 @@ http {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Accept-Encoding "";
client_body_buffer_size 512k;
proxy_read_timeout 86400s;

View file

@ -11,7 +11,7 @@ search:
server:
secret_key: "1d744894f2ff45be0990e0bf240456083cfe292a57857c0cdca88915531c2bb7"
limiter: false
limiter: true
image_proxy: true
ui: