You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ Re-type new password: xxxxxxxxx
183
183
184
184
/etc/nginx/nginx.conf
185
185
186
-
```
186
+
```nginx
187
187
user nginx;
188
188
worker_processes 8;
189
189
error_log /var/log/nginx/error.log;
@@ -241,7 +241,7 @@ http {
241
241
242
242
Set up virtual server instances for our 2 node/express apps, Elasticsearch and Kibana
243
243
244
-
```
244
+
```nginx
245
245
# redirect http/80 traffic to https/443 for our node apps
246
246
server {
247
247
listen 80;
@@ -457,7 +457,7 @@ sudo chmod -R 600 ssl/
457
457
458
458
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:
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 :
645
645
646
-
```
646
+
```nginx
647
647
server {
648
648
listen 80;
649
649
listen [::]:80;
@@ -775,7 +775,7 @@ Elasticsearch loads its configuration from the _/etc/elasticsearch/elasticsearch
0 commit comments