1

I would like to change my 502 error page to a custom design but I cant find in my server root which Linux distribution is installed, therefore where do I find the original 502 error page.

If this information helps PHP engine in use is NGINX and also Plesk is used as hosting management environment.

Each tutorial points to a different location within server root.

John Doe
  • 983
  • 4
  • 14
  • 27

1 Answers1

1

Although it may be different depending on Linux distribution, in Debian 9 the default error page is in /usr/share/nginx/html/50x.html.

You can also change with the error_page directive.

For more details, See:

http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page

minamijoyo
  • 3,305
  • 1
  • 18
  • 20