Debian Codegraph @

addons/iot_box_image/overwrite_after_init/etc/nginx/conf.d/access_point.conf

raw
1 server {
2 # By listening specifically on the access point IP, this server block will only match
3 # requests when the access point is enabled. We mark it as the 'default_server' so that
4 # it takes priority over the regular config.
5 listen 10.11.12.1:80 default_server;
6
7 location / {
8 # Redirect any URL to the homepage (triggers the 'sign-in' popup upon connecting to the IoT box)
9 return 301 $scheme://10.11.12.1:8069;
10 }
11 }