Skip to content

Commit 237b002

Browse files
committed
syntax highlighting
1 parent 2474757 commit 237b002

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Re-type new password: xxxxxxxxx
183183

184184
/etc/nginx/nginx.conf
185185

186-
```
186+
```nginx
187187
user nginx;
188188
worker_processes 8;
189189
error_log /var/log/nginx/error.log;
@@ -241,7 +241,7 @@ http {
241241

242242
Set up virtual server instances for our 2 node/express apps, Elasticsearch and Kibana
243243

244-
```
244+
```nginx
245245
# redirect http/80 traffic to https/443 for our node apps
246246
server {
247247
listen 80;
@@ -457,7 +457,7 @@ sudo chmod -R 600 ssl/
457457

458458
To complete the configuration you have to make sure your NGINX config points to the right cert file and to the private key you generated earlier. Add the following lines inside the server block of your NGINX config:
459459

460-
```
460+
```nginx
461461
# adding the SSL Certificates
462462
ssl_prefer_server_ciphers on;
463463
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
@@ -643,7 +643,7 @@ e.g.
643643

644644
1. Create your virtual server conf - the given config below routes an node/express app running on localhost:7777 with a public directory in /opt/mysite-build/app :
645645

646-
```
646+
```nginx
647647
server {
648648
listen 80;
649649
listen [::]:80;
@@ -775,7 +775,7 @@ Elasticsearch loads its configuration from the _/etc/elasticsearch/elasticsearch
775775
* __network.host:__ _localhost_ [see config](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#network-interface-values) __*__
776776
* __http.port:__ _9200_
777777
* __http.cors:__ _enabled:_ true , _allow-origin:_ /https?:\/\/localhost(:[0-9]+)?/, _allow-origin:_ /https?:\/\/localhost(:[0-9][0-9][0-9][0-9])?/
778-
* __*__ _e.g. network.host: 127.0.0.1, 192.168.1.200, 7.114.21.49_
778+
__*__ _e.g. network.host: 127.0.0.1, 192.168.1.200, 7.114.21.49_
779779

780780

781781
The RPM places config files, logs, and the data directory in the appropriate locations for an RPM-based system:
@@ -969,5 +969,17 @@ https://github.com/elastic/ansible-elasticsearch
969969

970970
https://www.elastic.co/blog/deploying-elasticsearch-200-with-chef
971971

972+
http://ikeptwalking.com/authentication-elasticsearch-without-shield-x-pack/
973+
974+
https://readonlyrest.com/download.html
975+
976+
https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin
977+
978+
https://docs.search-guard.com/latest/kibana-plugin-installation.html
979+
980+
https://docs.chef.io/elasticsearch_and_kibana_auth.html
981+
982+
https://qbox.io/blog/how-to-lock-down-elasticsearch-kibana-logstash-maintain-security
972983

984+
https://mapr.com/blog/how-secure-elasticsearch-and-kibana/
973985

0 commit comments

Comments
 (0)