Remove https nginx configuration

This commit is contained in:
vcerenu
2022-03-29 14:25:15 -03:00
parent e7065fc52b
commit 3d0c356be9
2 changed files with 2 additions and 23 deletions
-21
View File
@@ -28,27 +28,6 @@ http {
server_tokens off;
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;
}
}
}