Commit f80fadc1 by Michael Frey Committed by GitHub

Merge pull request #3521 from edx/mjfrey/nginx-payments

Allow access to payment endpoint for payment processor POST back.
parents c6bf2da2 d54ce05f
...@@ -76,6 +76,11 @@ server { ...@@ -76,6 +76,11 @@ server {
try_files $uri @proxy_to_app; try_files $uri @proxy_to_app;
} }
# Allow access to this API for POST back from payment processors.
location /payment {
try_files $uri @proxy_to_app;
}
{% include "robots.j2" %} {% include "robots.j2" %}
location @proxy_to_app { location @proxy_to_app {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment