Fix browser view nginx regex locations
All checks were successful
Deploy to BrowserUse VPS / deploy (push) Successful in 2s
All checks were successful
Deploy to BrowserUse VPS / deploy (push) Successful in 2s
This commit is contained in:
parent
6e94cc07c3
commit
5419746b3d
1 changed files with 2 additions and 2 deletions
|
|
@ -28,11 +28,11 @@ http {
|
|||
proxy_pass http://browser:6080;
|
||||
}
|
||||
|
||||
location ~ ^/view/(?<owner>[a-f0-9]{16})$ {
|
||||
location ~ "^/view/(?<owner>[a-f0-9]{16})$" {
|
||||
return 302 /view/$owner/vnc.html?path=view/$owner/websockify;
|
||||
}
|
||||
|
||||
location ~ ^/view/(?<owner>[a-f0-9]{16})/(?<rest>.*)$ {
|
||||
location ~ "^/view/(?<owner>[a-f0-9]{16})/(?<rest>.*)$" {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue