Skip to content

Commit c006cf1

Browse files
authoredMay 30, 2023
Removed unnecessary old headers from nginx config
1 parent 8e103f6 commit c006cf1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎nginx-rewrite.conf

-6
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ server {
88
client_max_body_size 150m;
99

1010
server_name 'domain.tld';
11-
add_header 'Access-Control-Allow-Origin' '*';
12-
add_header 'Access-Control-Allow-Methods' 'GET, POST';
13-
add_header 'Access-Control-Allow-Headers' 'origin, x-requested-with, content-type';
1411

1512
autoindex off;
1613

@@ -45,9 +42,6 @@ server {
4542
autoindex off;
4643

4744
server_name 'domain.tld';
48-
add_header 'Access-Control-Allow-Origin' '*';
49-
add_header 'Access-Control-Allow-Methods' 'GET, POST';
50-
add_header 'Access-Control-Allow-Headers' 'origin, x-requested-with, content-type';
5145

5246
location /
5347
{

0 commit comments

Comments
 (0)
Please sign in to comment.