Skip to content

Commit 3761cbd

Browse files
Update default.tpl
1 parent 1a6d039 commit 3761cbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ server {
3636
fastcgi_param SCRIPT_FILENAME $request_filename;
3737
}
3838

39-
location @fallback {
40-
proxy_pass http://%ip%:%web_port%;
41-
}
42-
4339
error_page 403 /error/404.html;
4440
error_page 404 /error/404.html;
4541
error_page 500 502 503 504 505 /error/50x.html;
@@ -48,5 +44,9 @@ server {
4844
alias /var/www/document_errors/;
4945
}
5046

47+
location @fallback {
48+
proxy_pass http://%ip%:%web_port%;
49+
}
50+
5151
include %home%/%user%/conf/mail/%root_domain%/%proxy_system%.conf_*;
5252
}

0 commit comments

Comments
 (0)