983ddd903b
- firmware-pusher/: standalone HTML app for GenieACS firmware pushes - genieacs/: NBI API usage, device IDs, troubleshooting - calix_home_network.txt: live network documentation
22 lines
479 B
Nginx Configuration File
22 lines
479 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location = / {
|
|
auth_basic "GenieACS Firmware Pusher";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
try_files /index.html =404;
|
|
}
|
|
|
|
location = /index.html {
|
|
return 404;
|
|
}
|
|
|
|
location / {
|
|
auth_basic "GenieACS Firmware Pusher";
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
try_files $uri $uri/ /index.html?$query_string =404;
|
|
}
|
|
}
|