diff --git a/etc/nginx/main.conf b/etc/nginx/main.conf index ff8819f..c00ffc3 100644 --- a/etc/nginx/main.conf +++ b/etc/nginx/main.conf @@ -8,3 +8,7 @@ expires 60m; # add_header Cache-Control "max-age=3600"; } + + location ~* ^/(about|privacy|donate|instructions)\.html$ { + rewrite (.*)\.html$ $1 permanent; + }