Bob Mottram 11 anni fa
parent
commit
8a71300358
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      beaglebone.txt

+ 3
- 0
beaglebone.txt Vedi File

2512
     index index.html index.htm;
2512
     index index.html index.htm;
2513
     server_name mydomainname.com;
2513
     server_name mydomainname.com;
2514
 
2514
 
2515
+    # Uncomment this if you need to redirect HTTP to HTTPS
2516
+    #rewrite ^ https://$server_name$request_uri? permanent;
2517
+
2515
     location / {
2518
     location / {
2516
         try_files $uri $uri/ /index.html;
2519
         try_files $uri $uri/ /index.html;
2517
     }
2520
     }