This commit is contained in:
Clement Michaud 2019-01-19 11:31:47 +01:00
parent f61a052bf5
commit 694840790b

View File

@ -5,6 +5,16 @@ events {
} }
http { http {
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/ssl/server.crt;
ssl_certificate_key /etc/ssl/server.key;
return 301 https://home.example.com:8080/;
}
server { server {
listen 443 ssl; listen 443 ssl;
server_name login.example.com; server_name login.example.com;