Change - once again - the nginx error build

This commit is contained in:
Aurelien Vaillant 2023-08-17 19:33:37 +02:00
parent a561b9c449
commit adf7f2ba83

View file

@ -1,11 +1,8 @@
# Build error access
error_page 403 /error/403.html;
location = /error/403.html {
error_page 404 /error/404.html;
location ^/ /error* {
internal;
}
error_page 404 @error404;
location @error404 {
rewrite ^ /error/404.html last;
root /var/www/my_webapp__3/www/;
}