How to redirect a folder to another folder with nginx

Discussion in 'Server Operation' started by Ovidiu, Sep 16, 2015.

  1. Ovidiu

    Ovidiu Active Member

    On a server running Debian + Ispcfg3 + nginx I have a customer with domain.tld who had some site running inside a folder called old.
    He now needs to have domain.tld/old permanently redirected to domain.tld/new and I have no idea how this should be done with ISPCFG3.

    Any idea? Is there even a functionality like this in ISPCFG or do I need to add code to his vhost?
     

Share This Page