Answer the question
In order to leave comments, you need to log in
How to disable SSL on 443 Nginx?
Please tell me what needs to be changed in the Nginx configs to disable the https connection on port 443
server {
listen 443;
ssl_certificate /home/****/ssl/trust-chain.crt;
ssl_certificate_key /home/****/ssl/private.key;
ssl on;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
server_name example.subdomain.domain.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://example;
}
}
Answer the question
In order to leave comments, you need to log in
443 for https is used by default, if you need to sniff traffic, then you can sniff what goes further to the host specified in proxy_pass, there will no longer be unencrypted traffic.
443 port only ssl. Either change the port or get a certificate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question