This page will help you in set the default System Apps.
Navigate to the Default Apps menu in the Apps Section in the Admin Panel.
Choose the default Web Server and Default PHP to be used.Click on Edit Settings Button to set the Default Web Server and Default PHP
Note: You will have to handle your .htaccess file in case of Scripts while using Nginx.