Azeez98 commited on
Commit
67f9226
·
verified ·
1 Parent(s): 779e32a

Create nginx/default.conf

Browse files
Files changed (1) hide show
  1. nginx/default.conf +14 -0
nginx/default.conf ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ server {
2
+ listen 80;
3
+
4
+ location / {
5
+ proxy_pass http://0.0.0.0:7860;
6
+ proxy_set_header Host $host;
7
+ proxy_set_header X-Real-IP $remote_addr;
8
+ }
9
+
10
+ location /media/ {
11
+ alias /app/media/;
12
+ autoindex on;
13
+ }
14
+ }