Spaces:
Running
Running
BinaryONe
commited on
Commit
·
d58e22b
1
Parent(s):
42d9b14
Nginx Changes-Over Alpine
Browse files- nginx.conf +17 -15
nginx.conf
CHANGED
@@ -1,20 +1,22 @@
|
|
1 |
-
|
2 |
-
|
|
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
|
18 |
-
|
|
|
19 |
}
|
20 |
}
|
|
|
1 |
+
http { # The crucial http block
|
2 |
+
server {
|
3 |
+
listen 7860;
|
4 |
|
5 |
+
proxy_buffering off;
|
6 |
+
proxy_cache off;
|
7 |
+
sendfile on;
|
8 |
+
tcp_nopush on;
|
9 |
+
tcp_nodelay on;
|
10 |
|
11 |
+
location / {
|
12 |
+
proxy_pass http://127.0.0.1:8080;
|
13 |
+
proxy_set_header Host $host;
|
14 |
+
proxy_set_header X-Real-IP $remote_addr;
|
15 |
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
16 |
+
proxy_set_header Range $http_range;
|
17 |
+
proxy_set_header If-Range $http_if_range;
|
18 |
|
19 |
+
add_header Accept-Ranges bytes;
|
20 |
+
}
|
21 |
}
|
22 |
}
|