Move custom pages to a subdirectory

This commit is contained in:
Girish Ramakrishnan
2020-02-05 11:42:17 -08:00
parent 4ae12ac10b
commit 25ef5ab636

View File

@@ -132,7 +132,7 @@ server {
location /app_error_page {
root /home/yellowtent/boxdata;
# the first argument looks for file under the root
try_files /app_not_responding.html /appstatus.html;
try_files /custom_pages/app_not_responding.html /appstatus.html;
# internal means this is for internal routing and cannot be accessed as URL from browser
internal;
}