board/common: serve network.local over plain HTTP (port 80)

network.local is a discovery/browse page, not a management interface.
Serving it over HTTP eliminates the self-signed certificate warning
browsers show for .local mDNS names without changing the security
posture of the actual device management pages (still HTTPS-only).

The new port-80 server_name block takes precedence over the catch-all
HTTP → HTTPS redirect in default.conf.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-03-09 19:25:28 +01:00
parent 0489fb5403
commit 7a23181b96
@@ -1,3 +1,13 @@
server {
listen 80;
listen [::]:80;
server_name network.local;
location / {
include /etc/nginx/netbrowse.conf;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;