2024-12-18 09:40:11 +03:00
|
|
|
{ ... }:
|
2024-12-02 21:12:45 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
"resume.voronind.com".extraConfig = ''
|
|
|
|
server_name resume.voronind.com;
|
|
|
|
listen 443 ssl;
|
2024-12-02 21:12:45 +03:00
|
|
|
|
2024-12-18 09:40:11 +03:00
|
|
|
ssl_certificate /etc/letsencrypt/live/voronind.com/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/voronind.com/privkey.pem;
|
|
|
|
include /etc/letsencrypt/conf/options-ssl-nginx.conf;
|
|
|
|
ssl_dhparam /etc/letsencrypt/conf/ssl-dhparams.pem;
|
2024-12-02 21:12:45 +03:00
|
|
|
|
2024-12-18 09:40:11 +03:00
|
|
|
if ($http_accept_language ~ ru) {
|
|
|
|
return 301 https://git.voronind.com/voronind/resume/releases/download/latest/VoronindRu.pdf;
|
|
|
|
}
|
2024-12-02 21:12:45 +03:00
|
|
|
|
2024-12-18 09:40:11 +03:00
|
|
|
return 301 https://git.voronind.com/voronind/resume/releases/download/latest/VoronindEn.pdf;
|
|
|
|
'';
|
2024-12-02 21:12:45 +03:00
|
|
|
}
|