nginx/conf.d/default.conf aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 1m55s
All checks were successful
release-tag / release-image (push) Successful in 1m55s
This commit is contained in:
@@ -8,6 +8,13 @@ server {
|
|||||||
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization";
|
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization";
|
||||||
add_header Access-Control-Allow-Credentials true;
|
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$ {
|
location ~ \.php$ {
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
Reference in New Issue
Block a user