ability to restrict which parts of the webserver are accessible (#372)

* add ability to restrict www access / css changes

-can now use WEB_SERVER_OPTIONS to decide what parts of the web system are accessible. Set it to  `WEB_SERVER_OPTIONS="cam config car jpeg"` to access everything. Remove things you don't want accessible.
-make the top part of the pages cleaner - now the image in config/cam defaults to smaller but is clickable to see it bigger. 
- separate feed.js from config.js and cam.js
-add warning about RTSP fimrware to diagnostics

* add info on WEB_SERVER_OPTIONS

* Update multicam.html

track and display refresh speed.
This commit is contained in:
virmaior
2023-06-29 11:36:53 +09:00
committed by GitHub
parent 83a05d7221
commit 8d7060c4b1
12 changed files with 322 additions and 60 deletions

View File

@@ -523,6 +523,14 @@ WEB_SERVER_ENABLED="true"
Enables the local webserver, for configuration, car control, or to retreive an image snapshot via a web browser. Available at : `http://<Camera IP>/` Thank you @virmaior!
```
WEB_SERVER_OPTIONS="cam config car jpeg"`
```
This adds access controls limiting which parts of the web server are exposed.
* cam = cam.cgi
* config = config.cgi
* car = car.sh
* jpeg = jpeg.cgi
---
### SYSLOG: