Skip to content

Commit 77dd413

Browse files
author
Kristan Kenney
committed
Remove assets folder from nginx mail domain templates
Error page assets have been streamlined/consolidated into the page templates themselves.
1 parent 8fac519 commit 77dd413

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

install/deb/templates/mail/nginx/default.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ server {
4343
location /error/ {
4444
alias /var/www/document_errors/;
4545
}
46-
47-
location /assets {
48-
root /var/www/document_errors;
49-
}
5046

5147
location @fallback {
5248
proxy_pass https://%ip%:%web_ssl_port%;

install/deb/templates/mail/nginx/default.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ server {
4444
alias /var/www/document_errors/;
4545
}
4646

47-
location /assets {
48-
root /var/www/document_errors;
49-
}
50-
5147
location @fallback {
5248
proxy_pass http://%ip%:%web_port%;
5349
}

install/deb/templates/mail/nginx/web_system.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ server {
4141
location /error/ {
4242
alias /var/www/document_errors/;
4343
}
44-
45-
location /assets {
46-
root /var/www/document_errors;
47-
}
4844

4945
include %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*;
5046
}

install/deb/templates/mail/nginx/web_system.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,5 @@ server {
4242
alias /var/www/document_errors/;
4343
}
4444

45-
location /assets {
46-
root /var/www/document_errors;
47-
}
48-
4945
include %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*;
5046
}

0 commit comments

Comments
 (0)