I have troubles understanding this answer 🙂
Anyway, after opening e.g. some vhost nginx config, I can see comments like "allowed to be commented, deleted or modified"
server
{
listen 80;
listen 443 ssl http2;
(...cut...)
#SSL-START SSL related configuration, do NOT delete or modify the next line of commented-out 404 rules
#error_page 404/404.html;
ssl_certificate /www/server/...
ssl_certificate_key /www/server/...
#SSL-END
#ERROR-PAGE-START Error page configuration, allowed to be commented, deleted or modified
error_page 404 /404.html;
error_page 502 /502.html;
#ERROR-PAGE-END
#PHP-INFO-START PHP reference configuration, allowed to be commented, deleted or modified
include enable-php-80.conf;
#PHP-INFO-END
(...cut...)
}
On the other hand, I have no idea whether I can e.g. edit these (also in the same nginx file):
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log /dev/null;
access_log /dev/null;
}
location ~ .*\.(js|css)?$
{
expires 12h;
error_log /dev/null;
access_log /dev/null;
}
So, in the end, I still have no idea if I can edit these files.