mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 06:11:57 +00:00
Update nginx_conf Readme
This commit is contained in:
@@ -20,4 +20,15 @@ nginx_conf/
|
||||
|
||||
In case you want to use a self-signed certificate we provided a script to generate one.
|
||||
|
||||
Execute `bash generate-self-signed-cert.sh` on this same directory and the right files will be generated. You must have installed `openssl` locally.
|
||||
Execute `bash generate-self-signed-cert.sh` inside the `ssl` directory and it will be generated. You must install `openssl` first.
|
||||
|
||||
|
||||
### Setup Basic Authentication
|
||||
|
||||
The nginx configuration expects the file `kibana.htpasswd`.
|
||||
|
||||
This file can be generated with the `htpasswd` command.
|
||||
|
||||
```bash
|
||||
htpasswd -c kibana.htpasswd username
|
||||
```
|
@@ -1 +0,0 @@
|
||||
foo:$apr1$WwUDPA87$v9Bj8DS5KF9u1wBTtHH.A/
|
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd $DIR
|
||||
|
||||
if [ -s kibana-access.key ]
|
||||
then
|
||||
echo "Aborting. Certificate already exists"
|
||||
|
Reference in New Issue
Block a user