Skip to content

Commit 200ef24

Browse files
committed
Remove redundant error_page config from nginx web templates, they are inherited from nginx.conf
1 parent ca6b32a commit 200ef24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+11
-222
lines changed

install/deb/multiphp/nginx/PHP-56.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ server {
2929
}
3030
}
3131

32-
error_page 403 /error/404.html;
33-
error_page 404 /error/404.html;
34-
error_page 500 502 503 504 /error/50x.html;
35-
3632
location /error/ {
3733
alias %home%/%user%/web/%domain%/document_errors/;
3834
}

install/deb/multiphp/nginx/PHP-56.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ server {
2828
}
2929
}
3030

31-
error_page 403 /error/404.html;
32-
error_page 404 /error/404.html;
33-
error_page 500 502 503 504 /error/50x.html;
34-
3531
location /error/ {
3632
alias %home%/%user%/web/%domain%/document_errors/;
3733
}

install/deb/multiphp/nginx/PHP-70.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ server {
2929
}
3030
}
3131

32-
error_page 403 /error/404.html;
33-
error_page 404 /error/404.html;
34-
error_page 500 502 503 504 /error/50x.html;
35-
3632
location /error/ {
3733
alias %home%/%user%/web/%domain%/document_errors/;
3834
}

install/deb/multiphp/nginx/PHP-70.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ server {
2828
}
2929
}
3030

31-
error_page 403 /error/404.html;
32-
error_page 404 /error/404.html;
33-
error_page 500 502 503 504 /error/50x.html;
34-
3531
location /error/ {
3632
alias %home%/%user%/web/%domain%/document_errors/;
3733
}

install/deb/multiphp/nginx/PHP-71.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ server {
2929
}
3030
}
3131

32-
error_page 403 /error/404.html;
33-
error_page 404 /error/404.html;
34-
error_page 500 502 503 504 /error/50x.html;
35-
3632
location /error/ {
3733
alias %home%/%user%/web/%domain%/document_errors/;
3834
}

install/deb/multiphp/nginx/PHP-71.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ server {
2828
}
2929
}
3030

31-
error_page 403 /error/404.html;
32-
error_page 404 /error/404.html;
33-
error_page 500 502 503 504 /error/50x.html;
34-
3531
location /error/ {
3632
alias %home%/%user%/web/%domain%/document_errors/;
3733
}

install/deb/multiphp/nginx/PHP-72.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ server {
2929
}
3030
}
3131

32-
error_page 403 /error/404.html;
33-
error_page 404 /error/404.html;
34-
error_page 500 502 503 504 /error/50x.html;
35-
3632
location /error/ {
3733
alias %home%/%user%/web/%domain%/document_errors/;
3834
}

install/deb/multiphp/nginx/PHP-72.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ server {
2828
}
2929
}
3030

31-
error_page 403 /error/404.html;
32-
error_page 404 /error/404.html;
33-
error_page 500 502 503 504 /error/50x.html;
34-
3531
location /error/ {
3632
alias %home%/%user%/web/%domain%/document_errors/;
3733
}

install/deb/multiphp/nginx/PHP-73.stpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ server {
2929
}
3030
}
3131

32-
error_page 403 /error/404.html;
33-
error_page 404 /error/404.html;
34-
error_page 500 502 503 504 /error/50x.html;
35-
3632
location /error/ {
3733
alias %home%/%user%/web/%domain%/document_errors/;
3834
}

install/deb/multiphp/nginx/PHP-73.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ server {
2828
}
2929
}
3030

31-
error_page 403 /error/404.html;
32-
error_page 404 /error/404.html;
33-
error_page 500 502 503 504 /error/50x.html;
34-
3531
location /error/ {
3632
alias %home%/%user%/web/%domain%/document_errors/;
3733
}

0 commit comments

Comments
 (0)