mirror of
https://github.com/myronblair/do-server-config
synced 2026-06-30 17:50:59 -05:00
10 lines
495 B
Plaintext
10 lines
495 B
Plaintext
# In /etc/nginx/sites-enabled/fusionpbx
|
|
# Critical fix: pass file= param so FusionPBX returns a boot file (not full config)
|
|
# Phone ignores DSS/BLF keys when received in a .boot file — must come from .cfg
|
|
|
|
# CORRECT:
|
|
rewrite "^.*/provision/([A-Fa-f0-9]{12})(\.boot)$" /app/provision/index.php?mac=$1&file=%7b%24mac%7d.boot;
|
|
|
|
# WRONG (original — serves full 122KB config as .boot, phone ignores linekeys):
|
|
# rewrite "^.*/provision/([A-Fa-f0-9]{12})(\.boot)$" /app/provision/index.php?mac=$1;
|