mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-08-24 08:21:55 +00:00
tests: virtual proto
This commit is contained in:
26
test/test_virtual-proto/ssl-app-multi-ports.conf
Normal file
26
test/test_virtual-proto/ssl-app-multi-ports.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name web2.nginx-proxy.tld;
|
||||
|
||||
location / {
|
||||
default_type text/plain;
|
||||
return 200 'This is web2.nginx-proxy.tld';
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name web3.nginx-proxy.tld;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/server.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/server.key;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers off;
|
||||
ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305';
|
||||
|
||||
location / {
|
||||
default_type text/plain;
|
||||
return 200 'This is web3.nginx-proxy.tld';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user