You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sessioncommunities.online/etc/nginx/main.conf

18 lines
391 B
Plaintext

error_page 404 /error/404/index.html;
location /icons {
expires 60m;
# add_header Cache-Control "max-age=3600";
}
location /qr-codes {
# while an underestimate,
# this prevents us from tracking users across visits
expires 60m;
# add_header Cache-Control "max-age=3600";
}
location ~* ^/(about|privacy|donate|instructions)\.html$ {
rewrite (.*)\.html$ $1 permanent;
}