Changes between Initial Version and Version 1 of Ticket #2609
- Timestamp:
- 02/25/24 13:05:56 (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2609 – Description
initial v1 5 5 6 6 {{{ 7 server { 8 ... 9 error_page 413 /custom_413.html; 10 location = /custom_413.html { 11 root /home/manager24/error_page; 7 http { 8 ... 9 client_max_body_size 15m; 10 ... 11 server { 12 ... 13 error_page 413 /custom_413.html; 14 location = /custom_413.html { 15 root /home/xxx/error_page; 12 16 internal; 13 } 17 } 18 } 14 19 ... 15 20 } 16 21 }}} 17 22 18 Expected Behavior: When a file larger than the allowed size is uploaded, Nginx should display the custom error page located at /home/ manager24/error_page/custom_413.html.23 Expected Behavior: When a file larger than the allowed size is uploaded, Nginx should display the custom error page located at /home/xxx/error_page/custom_413.html. 19 24 20 25 Actual Behavior: Nginx displays its default error page for 413 errors, ignoring the custom error page configuration.