Merged in feature/404fix (pull request #20)

Add 404.html with nocache

* Add 404.html with nocache


Approved-by: Rachit Bhargava
This commit is contained in:
Jay Sharma
2024-01-16 22:48:46 +00:00
committed by Rachit Bhargava
parent 1d401bd189
commit 98dfee814e
4 changed files with 22 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ data:
set $no_cache 0;
error_page 404 /404.html;
location = /404.html {
location = /404.html {
root /usr/share/nginx/subdomain/$subdomain;
add_header Cache-Control "no-cache" always;
}