Cannot download pcap/audio from spooldir when using chrome and nginx

From VoIPmonitor.org
Revision as of 14:56, 29 May 2017 by Petr.halounek (talk | contribs) (Created page with "If you are unable to download audio/pcap files from GUI in chrome, and you are using nginx as a web-server: enable "Developer tools = F12" and check in console - if You can se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you are unable to download audio/pcap files from GUI in chrome, and you are using nginx as a web-server: enable "Developer tools = F12" and check in console - if You can see when tried to download file errors like following:

app-16.35.js:8 POST http://voipmonitor.org:12481/php/model/utilities.php net::ERR_BLOCKED_BY_RESPONSE

Change your nginx settings: vim sites-available/voipmonitor.conf

#  add_header              'X-Frame-Options' 'DENY';
add_header              'X-Frame-Options' 'SAMEORIGIN';

And restart nginx service:

service nginx restart