mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Change - once again - the nginx error build
This commit is contained in:
parent
a561b9c449
commit
08a58729a2
1 changed files with 4 additions and 7 deletions
|
@ -1,11 +1,8 @@
|
||||||
# Build error access
|
# Build error access
|
||||||
error_page 403 /error/403.html;
|
error_page 403 /error/403.html;
|
||||||
location = /error/403.html {
|
error_page 404 /error/404.html;
|
||||||
|
|
||||||
|
location ^/ /error/ {
|
||||||
internal;
|
internal;
|
||||||
}
|
root /var/www/my_webapp__3/www/;
|
||||||
|
|
||||||
error_page 404 @error404;
|
|
||||||
|
|
||||||
location @error404 {
|
|
||||||
rewrite ^ /error/404.html last;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue