File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ http {
1515
1616 client_max_body_size 0;
1717
18- location ~ "^/[a-z0-9]{32}/ geode/" {
18+ location ~ "^/geode/" {
1919 if ( $request_method !~ ^( DELETE|GET|POST|PUT|OPTIONS) $) {
2020 return 405 ;
2121 }
22- rewrite "^/[a-z0-9]{32}/ geode/(.*)" /$1 break ;
22+ rewrite "^/geode/(.*)" /$1 break ;
2323 proxy_pass http ://localhost:5000 ;
2424 proxy_http_version 1.1;
2525 proxy_set_header Host $host ;
@@ -28,11 +28,11 @@ http {
2828 proxy_set_header X-Forwarded-Proto $scheme ;
2929 }
3030
31- location ~ "^/[a-z0-9]{32}/ viewer/" {
31+ location ~ "^/viewer/" {
3232 if ( $request_method !~ ^( GET|POST|OPTIONS) $) {
3333 return 405 ;
3434 }
35- rewrite "^/[a-z0-9]{32}/ viewer/(.*)" /$1 break ;
35+ rewrite "^/viewer/(.*)" /$1 break ;
3636 proxy_pass http ://localhost:1234 ;
3737 proxy_http_version 1.1;
3838 proxy_set_header Host $host ;
You can’t perform that action at this time.
0 commit comments