Nodiw52992 commited on
Commit
3aeb33e
·
verified ·
1 Parent(s): ca57952

Create nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +16 -0
nginx.conf ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ server {
2
+ listen 7860;
3
+
4
+ location / {
5
+ proxy_pass https://hunyuan.tencent.com/modelSquare/home/play?modelId=126;
6
+
7
+ proxy_ssl_server_name on;
8
+ proxy_set_header Host $host;
9
+ proxy_set_header X-Real-IP $remote_addr;
10
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
11
+ proxy_set_header X-Forwarded-Proto $scheme;
12
+
13
+ # Optional: if you run into SSL verification issues
14
+ proxy_ssl_verify off;
15
+ }
16
+ }