nginx/conf.d/default.conf aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 1m55s

This commit is contained in:
2025-04-23 11:48:40 +00:00
parent dba3d9a627
commit ba6f6a0e70

View File

@@ -8,6 +8,13 @@ server {
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization";
add_header Access-Control-Allow-Credentials true;
}
location ~* \.(jpg|jpeg|png|gif|css|js|ico|woff|woff2|ttf|svg|eot|mp4|webm|ogg|mp3)$ {
add_header Access-Control-Allow-Origin https://matrix-web.send.nrw;
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization";
add_header Access-Control-Allow-Credentials true;
access_log off;
expires 30d;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(/.+)$;