No.
The push directive needs to be inside the closing brace, not outside it.
The URL for the twitch ingest needs to include your key in this format, not include a final forward slash, and the line needs to end with a semicolon like all the other lines.
push rtmp://live-ymq.twitch.tv/app/live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;