Spaces:
Sleeping
Sleeping
barisaydin
commited on
Commit
•
7f6ec81
1
Parent(s):
5c23268
Update nginx.conf
Browse files- 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://
|
10 |
-
proxy_set_header 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 |
}
|