The kibana does not start properly. When I open the console, this is a problem with the javascript resource. When I open js files directly (by clicking on their link in the console), it seems that they are incomplete and were suddenly disconnected. Not sure if this is a restriction on files in a browser, or have my files been disabled in some way? Please see the images below to show you what I see.

File as shown on chrome. This is the bottom of the file according to how chrome loads it.

I restarted the kibana to make sure this resolves, no luck.
I think browsers have maximum line limit in js files. I'm not sure why kibana did not minimize js files? Is it running in some kind of dev mode?
, , - , js , , javascript?
JS kibana , . . , ? . , .
@asettouf, ( ) bundles /opt/kibana/optimize . bundles, , . Kibana js, ?
kibana.yml. , :
http://www.heypasteit.com/clip/O8HUN
, , . .
/var/log/kibana/kibana.log
localhost
http://www.heypasteit.com/clip/OA4OR
, , , webpack JS . .
, :
commons.bundle.js, 65723
kibana.bundle.js 108950
, .
curl -v localhost:5601
http://www.heypasteit.com/clip/OEKEX
CURL KIBANA JS
, curl -ukibanaadmin -v http://localhost/bundles/commons.bundle.js JS 108950 curl -ukibanaadmin -v http://actual_kibana_hostname/bundles/commons.bundle.js ( ) .
, . @val, , , nginx, , , localhost.
, Cloudflare, - , .
. . Nginx .
NGINX
Nginx, -, 72 havascript. nginx . ,
location / {
...
proxy_max_temp_file_size 1m;
...
}
location / {
...
sendfile on;
sendfile_max_chunk 1m;
...
}
, .
nginx proxy_pass 80 kibanas '5601'. , , -? , .
proxypass :
server {
listen 80;
server_name logs.mydomain.com;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
location / {
proxy_pass http://localhost:5601;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
nginx .
/etc/nginx/nginx.conf
http://www.heypasteit.com/clip/OEKIR
sendfile_max_chunk 512k worker_processes 4 2. . , ELK.
:
/etc/nginx/nginx.conf
http://www.heypasteit.com/clip/OEKF0
- DISK SPACE
. , , . Elicsearch GBs . , .
, . Nginx , 72 .
, js nginx kibana.