+ laravel nginx config, php84
This commit is contained in:
@ -1,4 +1,11 @@
|
||||
location / {
|
||||
if ($request_method = '_OPTIONS') {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization';
|
||||
return 204;
|
||||
}
|
||||
|
||||
rewrite ^/.*$ /index.php last;
|
||||
}
|
||||
location ~ ^/combine.*\.(css|js) {
|
||||
|
Reference in New Issue
Block a user