mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user