Browse Source

Remove assets folder from nginx mail domain templates

Error page assets have been streamlined/consolidated into the page templates themselves.
Kristan Kenney 6 năm trước cách đây
mục cha
commit
77dd41305f

+ 0 - 4
install/deb/templates/mail/nginx/default.stpl

@@ -43,10 +43,6 @@ server {
     location /error/ {
         alias /var/www/document_errors/;
     }
-
-	location /assets {
-        root /var/www/document_errors;
-    }
 	
     location @fallback {
         proxy_pass https://%ip%:%web_ssl_port%;

+ 0 - 4
install/deb/templates/mail/nginx/default.tpl

@@ -44,10 +44,6 @@ server {
         alias /var/www/document_errors/;
     }
 	
-	location /assets {
-        root /var/www/document_errors;
-    }
-
     location @fallback {
         proxy_pass http://%ip%:%web_port%;
     }

+ 0 - 4
install/deb/templates/mail/nginx/web_system.stpl

@@ -41,10 +41,6 @@ server {
     location /error/ {
         alias /var/www/document_errors/;
     }
-	
-	location /assets {
-        root /var/www/document_errors;
-    }
 
     include %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*;
 }

+ 0 - 4
install/deb/templates/mail/nginx/web_system.tpl

@@ -42,9 +42,5 @@ server {
         alias /var/www/document_errors/;
     }
 	
-	location /assets {
-        root /var/www/document_errors;
-    }
-
     include %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*;
 }