Cerbot's Apache mod_rewrite for HTTP traffic to HTTPS

Out of curiosity: is there a difference between the Apache general redirect, and the nginx general redirect which was disabled because of the incident mentioned here? Security issue with redirects added by Certbot's Nginx plugin