You would just remove nginx like any other program. It’s not built into AMP in any special way normally.