flightaware / piaware

Client-side package and programs for forwarding ADS-B data to FlightAware
BSD 2-Clause "Simplified" License
487 stars 69 forks source link

basic auth for lighthttpd #78

Closed cemeyer2 closed 3 years ago

cemeyer2 commented 3 years ago

Hello

Are there best practices or documentation to enable basic auth on a piaware install for the web interface?

thanks

mutability commented 3 years ago

Not that I'm aware of, but something like https://redmine.lighttpd.net/projects/1/wiki/HowToBasicAuth might be a good starting point assuming you're sticking with lighttpd. I'd suggest putting the config in your own parallel /etc/lighttpd/conf-available/ config fragment if you can.

cemeyer2 commented 3 years ago

okay thanks, can do that. I was not sure if there were implications of changing the config that might cause it to get overridden with package upgrades, etc