Add CORS headers for Garage web access
Fixes Discourse plugin JS usage
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user