multimodalart HF staff commited on
Commit
abea85f
1 Parent(s): 88491fe

Create nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +19 -0
nginx.conf ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ server {
2
+ listen 4000;
3
+
4
+ location / {
5
+ proxy_pass http://localhost:4000;
6
+ proxy_set_header Host $host;
7
+ proxy_set_header X-Real-IP $remote_addr;
8
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
9
+ proxy_set_header X-Forwarded-Proto $scheme;
10
+ }
11
+
12
+ location /comfy/ {
13
+ proxy_pass http://localhost:39775/;
14
+ proxy_set_header Host $host;
15
+ proxy_set_header X-Real-IP $remote_addr;
16
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17
+ proxy_set_header X-Forwarded-Proto $scheme;
18
+ }
19
+ }