File: nginx_site_client_cert_required

package info (click to toggle)
sslscan 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 716 kB
  • sloc: ansic: 5,580; sh: 353; python: 163; makefile: 138
file content (21 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
server {
	listen 443 ssl default_server;
	listen [::]:443 ssl default_server;
	gzip off;
	root /var/www/html;
	index index.html index.nginx-debian.html;
	server_name _;
	location / {
		try_files $uri $uri/ =404;
	}
	# Only TLSv1.2 with one cipher is specified, so the test that runs against this
	# finishes quicker (all that's needed is the HTTP response of one successful
	# TLS connection).
	ssl_protocols TLSv1.2;
	ssl_ciphers ECDHE-RSA-CHACHA20-POLY1305;
	ssl_prefer_server_ciphers on;
	ssl_certificate /etc/ssl/cert_3072.crt;
	ssl_certificate_key /etc/ssl/key_3072.pem;
	ssl_client_certificate /etc/ssl/ca_cert.pem;
	ssl_verify_client on;
}