This commit is contained in:
2021-03-19 22:49:09 -03:00
parent ec44b0281e
commit 99c18cb871
8 changed files with 45 additions and 11 deletions

View File

@ -50,6 +50,8 @@ server {
}
add_header 'Access-Control-Allow-Origin' 'http://localhost:8080';
add_header 'Access-Control-Allow-Methods' 'GET,POST,PUT,DELETE,OPTIONS';
add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
location ~ \.php {
try_files $uri =404;