Spaces:
Runtime error
Runtime error
Update nginx.conf
Browse files- nginx.conf +9 -2
nginx.conf
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
proxy_ssl_server_name on;
|
3 |
gzip off;
|
4 |
proxy_set_header Accept-Encoding "";
|
@@ -9,4 +15,5 @@ location / {
|
|
9 |
sub_filter_types text/html application/javascript application/x-javascript text/javascript;
|
10 |
sub_filter "chat.openai.com" "exnus-nginx-reverse-proxy.hf.space";
|
11 |
sub_filter_once off;
|
12 |
-
|
|
|
|
1 |
+
server {
|
2 |
+
listen 4444 default_server;
|
3 |
+
listen [::]:4444 default_server;
|
4 |
+
|
5 |
+
server_name _;
|
6 |
+
|
7 |
+
location / {
|
8 |
proxy_ssl_server_name on;
|
9 |
gzip off;
|
10 |
proxy_set_header Accept-Encoding "";
|
|
|
15 |
sub_filter_types text/html application/javascript application/x-javascript text/javascript;
|
16 |
sub_filter "chat.openai.com" "exnus-nginx-reverse-proxy.hf.space";
|
17 |
sub_filter_once off;
|
18 |
+
}
|
19 |
+
}
|