when I try deferent themes and plugins, there will be chance that the server just not working. it gave an 500 error at browser
In this case , to find what happed, we can modify and add codes to
/usr/share/nginx/html/wordpress/wp-config.php
From:
define( 'WP_DEBUG', false);
/* Add any custom values between this line and the "stop editing" line. */
To:
define( 'WP_DEBUG', true );
/* Add any custom values between this line and the "stop editing" line. */
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
if WP_DEBUG_DISPLAY is true , it will display error on page, this will be more useful , but we need close this at normal use.