Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix: remove CORS origins header from nginx (set by Rails?)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 16, 2024
1 parent 108b88b commit 431df46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions nginx/templates/osm-dev.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ server {

client_max_body_size 10M;

# Response headers
add_header Access-Control-Allow-Origin *;

location / {
# Requests headers
proxy_set_header Host $http_host;
Expand Down
1 change: 0 additions & 1 deletion nginx/templates/osm.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ server {
client_max_body_size 10M;

add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
add_header Access-Control-Allow-Origin *;

location / {
# Requests headers
Expand Down

0 comments on commit 431df46

Please sign in to comment.