- # default_server for the LAN addresses getting the IPs by:
- # ifstatus lan | jsonfilter -e '@["ipv4-address","ipv6-address"].*.address'
- server {
- include '/var/lib/nginx/lan.listen.default';
- server_name _lan;
- # access_log /proc/self/fd/1 openwrt; # use logd (init forwards stdout).
- include conf.d/*.locations;
- }
|