Skip to content

Commit c467d3f

Browse files
committed
no id
1 parent 2c90f09 commit c467d3f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

nginx.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)