update header + add searxng limiter (faut une db redis pr marcher)
This commit is contained in:
parent
efc9f117f9
commit
cad41c2c62
2 changed files with 2 additions and 3 deletions
|
@ -66,8 +66,6 @@ http {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-Scheme $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
|
# The `upstream` directives ensure that you have a http/1.1 connection
|
||||||
# This enables the keepalive option and better performance
|
# This enables the keepalive option and better performance
|
||||||
|
@ -135,6 +133,7 @@ http {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
proxy_set_header Accept-Encoding "";
|
||||||
|
|
||||||
client_body_buffer_size 512k;
|
client_body_buffer_size 512k;
|
||||||
proxy_read_timeout 86400s;
|
proxy_read_timeout 86400s;
|
||||||
|
|
|
@ -11,7 +11,7 @@ search:
|
||||||
|
|
||||||
server:
|
server:
|
||||||
secret_key: "1d744894f2ff45be0990e0bf240456083cfe292a57857c0cdca88915531c2bb7"
|
secret_key: "1d744894f2ff45be0990e0bf240456083cfe292a57857c0cdca88915531c2bb7"
|
||||||
limiter: false
|
limiter: true
|
||||||
image_proxy: true
|
image_proxy: true
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
|
|
Loading…
Reference in a new issue