Skip to content

Commit 9708759

Browse files
committed
remove extra newline in default config
1 parent 210da49 commit 9708759

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "llm-proxy",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Manages Nginx for reverse proxy to multiple LLMs, with TLS & Bearer Auth tokens",
55
"main": "dist/index.js",
66
"scripts": {

src/static/nginx-server-template.conf

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,9 @@ server {
4444
proxy_buffering off;
4545
client_max_body_size 0;
4646
proxy_read_timeout 36000s;
47-
{{allowedIPs}}
48-
deny all;
47+
{{allowedIPs}} deny all;
4948
}
5049

51-
# location ~ (.*) {
52-
# proxy_pass_header Authorization;
53-
# proxy_pass http://localhost:8080;
54-
# proxy_redirect off;
55-
# proxy_set_header X-Real-IP $remote_addr;
56-
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
57-
# proxy_http_version 1.1;
58-
# proxy_set_header Upgrade $http_upgrade;
59-
# proxy_set_header Connection 'upgrade';
60-
# proxy_set_header Host $host;
61-
# proxy_cache_bypass $http_upgrade;
62-
# proxy_buffering off;
63-
# client_max_body_size 0;
64-
# proxy_read_timeout 36000s;
65-
# }
6650
location ~ (.*) {
6751
return 404;
6852
}

0 commit comments

Comments
 (0)