This commit is contained in:
Johannes Siipola
2021-12-19 16:04:16 +02:00
committed by GitHub
parent fdb17d3dc2
commit 7c0c69f768

View File

@@ -23,7 +23,7 @@ Copy `config/custom-error-page` folder into your nginx config directory, for exa
Edit `custom-error-page/http-statuses.conf` so the `root` values point to the correct folder on your server.
In your main nginx config file, include `custom-error-page/http-statuses.conf` outside the server block (that is, inside the http block), like this:
In your main nginx config file, include `custom-error-page/error-page.conf` outside the server block (that is, inside the http block), like this:
```
include /etc/nginx/conf.d/custom-error-page/http-statuses.conf;