Raymond Weitekamp commited on
Commit
fb3e2ba
·
1 Parent(s): f35a3e9

Fix Nginx proxy configuration by removing duplicate /viewer path

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -100,9 +100,9 @@ http {\n\
100
  proxy_set_header X-Forwarded-Proto $scheme;\n\
101
  }\n\
102
  \n\
103
- # Viewer route - explicitly handle the viewer path\n\
104
  location /viewer/ {\n\
105
- proxy_pass http://viewer/viewer/;\n\
106
  proxy_http_version 1.1;\n\
107
  proxy_set_header Upgrade $http_upgrade;\n\
108
  proxy_set_header Connection $connection_upgrade;\n\
 
100
  proxy_set_header X-Forwarded-Proto $scheme;\n\
101
  }\n\
102
  \n\
103
+ # Viewer route - pass the full URI directly to the viewer upstream\n\
104
  location /viewer/ {\n\
105
+ proxy_pass http://viewer;\n\
106
  proxy_http_version 1.1;\n\
107
  proxy_set_header Upgrade $http_upgrade;\n\
108
  proxy_set_header Connection $connection_upgrade;\n\