mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 23:04:39 -04:00
33 lines
501 B
Text
33 lines
501 B
Text
|
|
server {
|
||
|
|
server_name ssl.both.com;
|
||
|
|
}
|
||
|
|
|
||
|
|
# a duplicate vhost
|
||
|
|
server {
|
||
|
|
server_name ssl.both.com;
|
||
|
|
}
|
||
|
|
|
||
|
|
# a duplicate by means of wildcard
|
||
|
|
server {
|
||
|
|
server_name *.both.com;
|
||
|
|
}
|
||
|
|
|
||
|
|
# combined HTTP and HTTPS
|
||
|
|
server {
|
||
|
|
server_name ssl.both.com;
|
||
|
|
listen 80;
|
||
|
|
listen 5001 ssl;
|
||
|
|
|
||
|
|
ssl_certificate cert.pem;
|
||
|
|
ssl_certificate_key cert.key;
|
||
|
|
}
|
||
|
|
|
||
|
|
# HTTPS, duplicate by means of wildcard
|
||
|
|
server {
|
||
|
|
server_name *.both.com;
|
||
|
|
listen 5001 ssl;
|
||
|
|
|
||
|
|
ssl_certificate cert.pem;
|
||
|
|
ssl_certificate_key cert.key;
|
||
|
|
}
|