Solved peertube bugs

This commit is contained in:
2025-07-26 08:08:51 +02:00
parent 996244b672
commit f9f76892af
4 changed files with 12 additions and 8 deletions

View File

@@ -9,9 +9,9 @@ location = /logout {
# CORS headers allow your central page to call this
add_header 'Access-Control-Allow-Origin' '{{ domains | get_url('web-svc-logout', web_protocol) }}' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Accept, Authorization' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
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;