Add CORS headers for Garage web access

Fixes Discourse plugin JS usage
This commit is contained in:
2026-04-07 16:53:09 +04:00
parent d68deb96e9
commit 7710231fc4

View File

@@ -18,6 +18,7 @@ server {
}
location / {
add_header 'Access-Control-Allow-Origin' '*' always;
proxy_intercept_errors on;
proxy_cache garage_cache;
proxy_pass http://garage_web;