Skip to content

Commit f2708f3

Browse files
authored
Update cors.conf
1 parent 918b148 commit f2708f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎config/nginx/cors.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## USAGE:
2+
#if ($request_method = 'OPTIONS') {
3+
# include /usr/local/turbolab.it/webstackup/config/nginx/cors.conf;
4+
# return 204;
5+
#}
6+
17
add_header Access-Control-Allow-Origin "*";
28
add_header Access-Control-Allow-Credentials true;
39
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';

0 commit comments

Comments
 (0)