Deactivated caching

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-22 13:53:20 +02:00
parent 4b9e7dd3b7
commit 5dc8ec2344
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -13,6 +13,11 @@ location = /logout {
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Accept, Authorization' always;
# Disable caching absolutely
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
# Handle preflight
if ($request_method = OPTIONS) {
return 204;