Change default http port

  • I use i-mscp as multisite control panel with apache.
    I need to install reverse proxy (lighttpd) before apache, so I need to change default port from 80 to 82 (for example) and set lighttpd to port 80.
    How to setup i-mscp for non-default port?


    I tried to change all references in i-mscp "config"'s installation directory, changed "Listen" in apache, ran imscp-autoinstall and as a result I got apache listened on port 82. All requests reached apache (through lighttpd) but didn't process