mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 10:37:02 +05:30
Caddyfile: Route 404 errors on homepage to 404.html
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
8d535fe914
commit
4ff641e4f4
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,9 @@ https://msfjarvis.dev {
|
|||
import compression_config
|
||||
root /var/www/msfjarvis.dev/
|
||||
log / /etc/logs/requests.log
|
||||
errors {
|
||||
404 404.html
|
||||
}
|
||||
}
|
||||
|
||||
https://bin.msfjarvis.dev {
|
||||
|
@ -89,6 +92,9 @@ https://staging.msfjarvis.dev {
|
|||
import base_config
|
||||
import compression_config
|
||||
root /var/www/staging.msfjarvis.dev/
|
||||
errors {
|
||||
404 404.html
|
||||
}
|
||||
}
|
||||
|
||||
https://stats.msfjarvis.dev {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue