Hi,
I want to custom personnal page and I make the page error.html in
(/usr/share/nginx/html/error.html)
and in the file rutorrent.conf in
(/etc/nginx/sites-enabled/rutorrent.conf)
I ajout this lines
First test:
server {
## redirection url ##
listen 80;
…
error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
415
416 417 500 501 502 503 504 505 506 507 /error.html;
location = /error.html {
root /usr/share/nginx/html;
# internal;
}
and second test
server {
## redirection url ##
listen 80;
…
error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
415
416 417 500 501 502 503 504 505 506 507 /error.html;
location = /error.html {
try_files /error.html @error;
internal;
}
## Fallback Directory
location @error {
root /usr/share/nginx/html;
}
No fonction, no possible to see my personal page error.html when have
the
error, why ???
I no know
Thx for you help
Posted at Nginx Forum: