Spaces:
Runtime error
Runtime error
antonovmaxim
commited on
Commit
•
fb68934
1
Parent(s):
46c9c7e
Update nginx.conf
Browse files- nginx.conf +12 -11
nginx.conf
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
proxy_http_version 1.1;
|
4 |
-
proxy_cache_bypass $http_upgrade;
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
1 |
+
server {
|
2 |
+
listen 7860;
|
|
|
|
|
3 |
|
4 |
+
location / {
|
5 |
+
proxy_ssl_server_name on;
|
6 |
+
proxy_pass https://gpt.darkcoder15.tk/;
|
7 |
+
}
|
8 |
+
|
9 |
+
# Установите следующие два блока, если у вас есть SSL для localhost
|
10 |
+
#ssl on;
|
11 |
+
#ssl_certificate /etc/nginx/ssl/localhost.crt; # путь к вашему cert
|
12 |
+
#ssl_certificate_key /etc/nginx/ssl/localhost.key; # путь к вашему ключу
|
13 |
+
}
|