Opened 12 years ago
Closed 11 years ago
#307 closed enhancement (wontfix)
Filename support in error_page
Reported by: | Alexander Nestorov | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.3.x |
Keywords: | error_page | Cc: | |
uname -a: | N/A | ||
nginx -V: | N/A |
Description
The idea behind this request is being able to set one global error_page and *if needed* override it with another one for each server{}.
Example: consider there's a error_page in /var/www/default/50x.html
If error_page accepted filenames then I'd be able to set it to that path and all my vhosts would use that same error_page.
I already asked about this feature in the ML, here: http://mailman.nginx.org/pipermail/nginx/2013-February/037706.html
and in SO, here: http://serverfault.com/questions/481140/nginx-default-error-page
Note:
See TracTickets
for help on using tickets.
No, thanks.