diff --git a/beaglebone.txt b/beaglebone.txt index 529ff415..b25f41f8 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -2512,6 +2512,9 @@ server { index index.html index.htm; server_name mydomainname.com; + # Uncomment this if you need to redirect HTTP to HTTPS + #rewrite ^ https://$server_name$request_uri? permanent; + location / { try_files $uri $uri/ /index.html; }