location ~ \.shtml$ ssi on; ssi_types text/html; ssi_value_length 512; try_files $uri $uri/ =404;
Open your Nginx configuration file (usually /etc/nginx/sites-available/your-site ). view shtml fix
If you include a file that tries to include itself, or creates a loop, the server will time out or crash. Check your chain: index.shtml -> header.html (and within header.html, you also have <!--#include virtual="index.shtml" --> ). location ~ \