What you are doing:
- User => Makes request to api.example.com on port 1337 => Strapi gets request on your server’s IP on port 1337
@DMehaffy His config seems okay to me and he is definitely not trying to listen on 1337 local port. You must be missing something.
See this from his conf file
listen [::]:443 ssl http2 ipv6only=on; # managed by Certbot
listen 443 ssl http2; # managed by Certbot
and
listen 80;
listen [::]:80;
Thats the listen directive.