mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-28 18:43:36 +00:00
Remove https nginx configuration
This commit is contained in:
@@ -140,6 +140,8 @@ services:
|
|||||||
image: wazuh/wazuh-dashboard:4.3.0
|
image: wazuh/wazuh-dashboard:4.3.0
|
||||||
hostname: wazuh.dashboard
|
hostname: wazuh.dashboard
|
||||||
restart: always
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 443:443
|
||||||
environment:
|
environment:
|
||||||
- OPENSEARCH_HOSTS="https://wazuh1.indexer:9200"
|
- OPENSEARCH_HOSTS="https://wazuh1.indexer:9200"
|
||||||
- WAZUH_API_URL="https://wazuh.master"
|
- WAZUH_API_URL="https://wazuh.master"
|
||||||
@@ -162,8 +164,6 @@ services:
|
|||||||
hostname: nginx
|
hostname: nginx
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
|
||||||
- "443:443"
|
|
||||||
- "1514:1514"
|
- "1514:1514"
|
||||||
depends_on:
|
depends_on:
|
||||||
- wazuh.master
|
- wazuh.master
|
||||||
|
|||||||
@@ -28,27 +28,6 @@ http {
|
|||||||
server_tokens off;
|
server_tokens off;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|
||||||
# Dashboard UI
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
listen [::]:80;
|
|
||||||
return 301 https://$host:443$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 default_server ssl http2;
|
|
||||||
listen [::]:443 ssl http2;
|
|
||||||
ssl_certificate /etc/nginx/ssl/cert.pem;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/key.pem;
|
|
||||||
location / {
|
|
||||||
proxy_pass https://wazuh.dashboard:443/;
|
|
||||||
proxy_ssl_verify off;
|
|
||||||
proxy_buffer_size 128k;
|
|
||||||
proxy_buffers 4 256k;
|
|
||||||
proxy_busy_buffers_size 256k;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user