2023-06-11 12:23:02 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
server_name podcast.skazochnik.spb.ru;
|
|
|
|
location / {
|
|
|
|
root /var/www/podcast;
|
2024-02-13 17:34:39 +00:00
|
|
|
index index.html index.htm;
|
|
|
|
add_header "Access-Control-Allow-Origin" "https://mc.yandex.ru,https://yandex.ru";
|
2023-06-11 12:23:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/podcast.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/podcast.skazochnik.spb.ru/privkey.pem; # managed by Certbot
|
|
|
|
}
|