SWAG slows down interacting with dockerized n8n

Hello

I use SWAG and have noticed that when I access n8n from the SWAGged URL, workflow execution is occasionally delayed by 5-10 seconds vs. accessing n8n directly from my server’s IP.

What can I check here to try and fix the problem?

I tried following the steps here - How Properly Configure Nginx Server for TLS | HackerNoon. They partially fixed the problem (TLS handshake was causing delay) but now the delay is caused by ‘waiting’ - according to the timings tab on FF Inspector for the POST request made by n8n. The entire experience is way faster when I don’t access via the URL.