diff --git a/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index b772039..7961041 100644 --- a/docker/rootfs/etc/nginx/http.d/default.conf +++ b/docker/rootfs/etc/nginx/http.d/default.conf @@ -12,6 +12,10 @@ server { rewrite ^/feed/.*$ /it/index.xml last; } + location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ { + return 301 https://bglug.it/it/chi-siamo/Statuto.pdf; + } + location ~ ^/it/.* { error_page 404 /it/404.html; }