Spaces:
Paused
Paused
patch monailabel
Browse files- nginx.conf +13 -13
nginx.conf
CHANGED
@@ -31,19 +31,19 @@ server {
|
|
31 |
# # Handling URI
|
32 |
# proxy_set_header X-Forwarded-Prefix "/";
|
33 |
# }
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
location /orthanc {
|
48 |
# Serve backend from port
|
49 |
proxy_pass http://0.0.0.0:8042;
|
|
|
31 |
# # Handling URI
|
32 |
# proxy_set_header X-Forwarded-Prefix "/";
|
33 |
# }
|
34 |
+
location /monailabel {
|
35 |
+
# Proxy pass to the app at /ohif
|
36 |
+
proxy_pass http://0.0.0.0:8000;
|
37 |
+
proxy_http_version 1.1;
|
38 |
+
proxy_set_header Upgrade $http_upgrade;
|
39 |
+
proxy_set_header Connection 'upgrade';
|
40 |
+
proxy_set_header Host $host;
|
41 |
+
proxy_set_header X-Real-IP $remote_addr;
|
42 |
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
43 |
+
proxy_cache_bypass $http_upgrade;
|
44 |
+
proxy_read_timeout 86400;
|
45 |
+
proxy_redirect off;
|
46 |
+
}
|
47 |
location /orthanc {
|
48 |
# Serve backend from port
|
49 |
proxy_pass http://0.0.0.0:8042;
|