There was an error while loading. Please reload this page.
1 parent 918b148 commit f2708f3Copy full SHA for f2708f3
config/nginx/cors.conf
@@ -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
+
7
add_header Access-Control-Allow-Origin "*";
8
add_header Access-Control-Allow-Credentials true;
9
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
0 commit comments