Create nginx.conf
Browse files- nginx.conf +11 -0
nginx.conf
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
events {}
|
2 |
+
http {
|
3 |
+
server {
|
4 |
+
listen 7860;
|
5 |
+
location / {
|
6 |
+
proxy_pass http://localhost:11434;
|
7 |
+
proxy_set_header Host $host;
|
8 |
+
proxy_set_header X-Real-IP $remote_addr;
|
9 |
+
}
|
10 |
+
}
|
11 |
+
}
|