User Tools

Site Tools


how_to_run_litecart_on_nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
how_to_run_litecart_on_nginx [2019/02/20 01:57]
90.230.2.167
how_to_run_litecart_on_nginx [2019/02/21 00:58] (current)
90.230.2.167
Line 18: Line 18:
 #  ssl_certificate ​    ​www.example.com.crt;​ #  ssl_certificate ​    ​www.example.com.crt;​
 #  ssl_certificate_key www.example.com.key;​ #  ssl_certificate_key www.example.com.key;​
-#  ssl_protocols ​      TLSv1 TLSv1.1 ​TLSv1.2;+#  ssl_protocols ​      ​TLSv1.2;​
   ​   ​
   # Define document root and directory index   # Define document root and directory index
Line 38: Line 38:
   # Deny access to apache configuration files   # Deny access to apache configuration files
   location ~ /​\.ht(access|passwd) {    location ~ /​\.ht(access|passwd) { 
 +    deny all;
 +  }
 +  ​
 +  # Deny access to private storage
 +  location ^~ /​(data|logs|vqmod)/​ { 
     deny all;     deny all;
   }   }
how_to_run_litecart_on_nginx.txt ยท Last modified: 2019/02/21 00:58 by 90.230.2.167