Fix: CORS headers staging
parent
c9d5e5af21
commit
b251b9b48f
|
|
@ -12,6 +12,13 @@ server {
|
||||||
|
|
||||||
client_max_body_size 20M;
|
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;
|
access_log /var/log/nginx/access.log;
|
||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue