Route recipe responses through Gemini proxy

This commit is contained in:
“Naeel”
2026-08-29 02:45:44 +03:00
parent 169662566d
commit 9f0974aaa9
5 changed files with 61 additions and 24 deletions
+13
View File
@@ -1,3 +1,16 @@
location = /recipe {
proxy_pass http://127.0.0.1:8770/recipe;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 10m;
proxy_connect_timeout 10s;
proxy_send_timeout 200s;
proxy_read_timeout 200s;
}
location /recipe/ {
proxy_pass http://127.0.0.1:8770/;
proxy_http_version 1.1;