Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location ~ /vendor/axibase {
- proxy_pass http://axibase:8088;
- proxy_redirect off;
- #proxy_redirect default;
- #proxy_intercept_errors on;
- #error_page 301 302 307 = @handle_axibase_redirects;
- }
- location @handle_axibase_redirects {
- set $orig_loc $upstream_http_location;
- proxy_pass $orig_loc;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement