Skip to content

Commit

Permalink
Add missing slash to nginx config
Browse files Browse the repository at this point in the history
This fixes #1 . Without the trailing slash, mixpanel returns an invalid argument "POST object expects Content-Type multipart/form-data" error.
  • Loading branch information
Julien Rebetez authored May 19, 2021
1 parent 4cf56a5 commit 4f9c4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ http {
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_pass https://api.mixpanel.com;
proxy_pass https://api.mixpanel.com/;
}
}
}

0 comments on commit 4f9c4e5

Please sign in to comment.