Comments (6)
Hey @arnonh sure, serving from a subdirectory is possible.
Just examine the file ws-server.js, particularly this line and modify it to serve from whatever subdirectory you like.
Also if you want to serve on a regular port (443 for https or 80 for http), just modify the server port (8002) in test.sh
from browserbox.
Awesome, that's great to hear! Glad you got it working 😄
from browserbox.
When I try to run via reverse proxy, it constantly refreshes. Any idea what I might be doing wrong?
from browserbox.
from browserbox.
At least for now running the DockerHub image.
The reason that I'm running it is to access sites that are blocked by my work firewall (which also doesn't allow me to setup my own http proxy). [Just by way of explanation, the firewall is attempting to prevent uploads/downloads/infections and other interactions between machines on our local network and remote sites, rather than limit what we're seeing on our screens. So that using this as a workaround actually doesn't violate their policies]
So I've set up a name based virtual host via Apache to reverse proxy from my public https port (443) to the private BrowserView port (8002). The current config is very simple (although I did try to capture the websockets):
<Location />
RewriteEngine on
RewriteCond ${HTTP:Upgrade} websocket [NC]
RewriteCond ${HTTP:Connection} upgrade [NC]
RewriteRule .* "ws:/localhost:8002/$1" [P,L]
ProxyPass http://localhost:8002/
ProxyPassReverse http://localhost:8002/
</Location>
from browserbox.
@skug67 I moved discussion to a new issue: #51 (comment)
from browserbox.
Related Issues (20)
- Make VPN HOT 1
- Test security-misc
- viewport remains mobile even after all mobile clients disconnect. even after resize to correct size the mobile flag is still set. this is a miscalculation.
- How can I uninstall all the stuff that browserbox installed? HOT 5
- on desktop cursor styles are never presented to local page
- Add a readability view from firefox's readability
- add `--restore-last-session` and function to reattach to existing tabs on startup HOT 1
- we shouldn't make favicon.{jpg,jpeg,png,wep} requests if we already have a valid file from a link element. HOT 2
- Test new headless for extension integration HOT 1
- Trick photos for reference
- capture all tabs, even those present at app startup with an existing chrome. currently we will not find existing tabs because our app didn't create them. we should set a setting ATTACH_TO_EXISTING_TABS with default true. And 'roll in' these tabs into our regular app set. HOT 1
- file download MB label does not show properly on mobile (it scrunches up and wraps vertically pushing height outside the top bar bounds, obscuring the content) HOT 1
- ct: save previous remote user agent for signedin users so restored tabs bare the correct form factor of the most recently connected device
- --headless=new leaves mobile wonky
- add support for targetInfo "faviconUrl" behind a flag HOT 1
- report of installation difficulties HOT 1
- Browser mouse middle-button issue HeyPuter/Puter#366 @TryVoidMain HOT 1
- Docker issues
- Glitch demo
- fix `ALL CAPS` and no punctuation or carriage return in some fields. Example: Office365.com (believe this has to do with iframe injection)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browserbox.