radames commited on
Commit
fc7d6ca
1 Parent(s): 522bd14

patch monailabel

Browse files
Files changed (1) hide show
  1. nginx.conf +13 -13
nginx.conf CHANGED
@@ -31,19 +31,19 @@ server {
31
  # # Handling URI
32
  # proxy_set_header X-Forwarded-Prefix "/";
33
  # }
34
- # location / {
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;
 
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;