1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Add code error 50X

This commit is contained in:
--help 2023-08-12 16:52:25 +02:00
parent 7083a50ec8
commit 4255b0a4bc
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,11 @@ location __PATH__/ {
location = __PATH__/error/404.html {
internal;
}
error_page 500 502 503 /50x.html;
location = __PATH__/error/50x.html {
internal;
}
# Deny access to hidden files and directories
location ~ ^__PATH__/(.+/|)\.(?!well-known\/) {

View file

@ -5,7 +5,7 @@ name = "My Webapp"
description.en = "Custom Web app with SFTP access to serve static (HTML, CSS, JS) and PHP files"
description.fr = "Application Web personnalisée avec accès SFTP pour servir des fichiers statiques (HTML, CSS, JS) et PHP"
version = "1.0~ynh15"
version = "1.0~ynh16"
maintainers = []