Skip to content

Commit

Permalink
Call proper handler
Browse files Browse the repository at this point in the history
@proxito404 does not exist, we have defined @notfoundcallback here.
  • Loading branch information
humitos committed Mar 24, 2020
1 parent 8f9cb19 commit 89aef46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/nginx/proxito.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;

proxy_intercept_errors on;
error_page 404 = @proxito404;
proxy_intercept_errors on;
error_page 404 = @notfoundfallback;

add_header X-Served Django-Proxito always;
}
Expand Down

0 comments on commit 89aef46

Please sign in to comment.