Fix: CORS headers staging

main
boban 2026-04-19 00:13:02 +02:00
parent c9d5e5af21
commit b251b9b48f
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ server {
client_max_body_size 20M;
# CORS für Assets
add_header Access-Control-Allow-Origin "*" always;
add_header Access-Control-Allow-Methods
"GET, POST, OPTIONS" always;
add_header Access-Control-Allow-Headers
"Origin, Content-Type, Accept" always;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;