Enabling return 301 https://dom1.com$request_uri; line makes too many redirects. A also tried 2 blocks with one for 80 2nd for 443 same error.
Here is my config for vhost file:
When it comes to NGINX, ideally you'll want to separate the server blocks--one for serving requests on port 80 (which redirects to 443) and one for port 443.
Instead of using the domain, I would recommend u...