You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
537 B

  1. # default_server for the LAN addresses getting the IPs by:
  2. # ifstatus lan | jsonfilter -e '@["ipv4-address","ipv6-address"].*.address'
  3. server {
  4. server_name _lan;
  5. include '/var/lib/nginx/lan_ssl.listen.default';
  6. ssl_certificate '/etc/nginx/conf.d/_lan.crt';
  7. ssl_certificate_key '/etc/nginx/conf.d/_lan.key';
  8. ssl_session_cache 'shared:SSL:32k';
  9. ssl_session_timeout '64m';
  10. # access_log /proc/self/fd/1 openwrt; # use logd (init forwards stdout).
  11. include conf.d/*.locations;
  12. }