ММ
Size: a a a
ММ
Р
F
Р
Р
ММ
М
PG
М
AD
version: '2'
services:
nginx:
image: nginx:stable
container_name: nginx
volumes:
- /sandbox/docker/nginx-ssl/conf/httpv2-ssl.conf:/etc/nginx/conf.d/default.conf
- /sandbox/docker/nginx-ssl/certs:/etc/nginx/certs
- /sandbox/docker/nginx-ssl/www:/opt/www
ports:
- "8080:80"
- "8443:443"
$ curl -v -k https://localhost:8443/test.html
* Trying ::1:8443...
* Connected to localhost (::1) port 8443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8443
* Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8443
AD
М
PG
М
М
М
МВ
NM