Check out example codes for "let's encrypt ssl not working". It will help you in understanding the concepts better.

Code Example 1

Try turning RewriteEngine On in .htaccess file to RewriteEngine Off. If this fixes it, you know there's something in that file that's making it not work.

Learn ReactJs, React Native from