Basepath for a backend

Comments

1 comment

  • Joe Garrison

    Hi Otto, I answered this question in the ticket you submitted, but wanted to respond here as well for other users to see.

     

    This can be accomplished with a URL rewrite. Here's a solution pattern that should get you started:

    https://developer.fastly.com/solutions/examples/rewrite-url-path

    If you need to change origins also, then you can add:

    set req.backend = your_origin
    

    after it sets the new req.url.

    0
    Comment actions Permalink

Please sign in to leave a comment.