fix content type for calendar
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 1m28s

This commit is contained in:
Paolo Asperti 2024-10-05 09:35:38 +02:00
parent c3a18c610f
commit 07825673e3
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -13,9 +13,14 @@ server {
}
location ~ /events/elenco/ {
default_type "text/calendar";
try_files $uri /it/index.ics;
}
location ~ \.ics$ {
default_type "text/calendar";
}
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
}