2023-02-21 03:23:00 +01:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
{#
|
|
|
|
|
|
|
|
:%s/example.com/test.winkekatze.tv/gc
|
|
|
|
|
|
|
|
#}
|
2023-02-21 02:11:00 +01:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name test.winkekatze.tv;
|
|
|
|
|
|
|
|
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
|
|
|
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
|
|
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
|
|
|
|
|
|
|
root /srv/www/test.winkekatze.tv;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
charset utf-8;
|
|
|
|
try_files $uri $uri/ =404;
|
2023-02-21 03:23:00 +01:00
|
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
add_header Cache-Control "public, max-age=0";
|
|
|
|
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
|
|
|
|
}
|
|
|
|
location ~* .(?:css|js)$ {
|
|
|
|
charset utf-8;
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
expires 2h;
|
|
|
|
add_header Cache-Control "public";
|
|
|
|
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
|
2023-02-21 02:11:00 +01:00
|
|
|
}
|
2023-02-21 03:23:00 +01:00
|
|
|
location stream.m3u8 {
|
|
|
|
types { } default_type "application/x-mpegURL; charset=utf-8";
|
|
|
|
charset utf-8;
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
add_header Cache-Control "public, max-age=0";
|
|
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
|
|
|
|
}
|
|
|
|
|
2023-02-21 02:11:00 +01:00
|
|
|
}
|