barisaydin commited on
Commit
7f6ec81
1 Parent(s): 5c23268

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -5
nginx.conf CHANGED
@@ -6,11 +6,8 @@ http {
6
 
7
  location / {
8
  access_by_lua_file /usr/local/openresty/nginx/lua/validate_api_key.lua;
9
- proxy_pass http://127.0.0.1:11434;
10
- proxy_set_header Host $host;
11
- proxy_set_header X-Real-IP $remote_addr;
12
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
13
- proxy_set_header X-Forwarded-Proto $scheme;
14
  }
15
  }
16
  }
 
6
 
7
  location / {
8
  access_by_lua_file /usr/local/openresty/nginx/lua/validate_api_key.lua;
9
+ proxy_pass http://localhost:11434;
10
+ proxy_set_header Host localhost:11434;
 
 
 
11
  }
12
  }
13
  }