Skip to content

Commit

Permalink
Update README.md to clarify nginx configuration instructions for erro…
Browse files Browse the repository at this point in the history
…r_pages.conf
  • Loading branch information
ShevonKuan committed Dec 3, 2024
1 parent 453e78c commit 65756a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Demo [here](https://shevonkuan.github.io/nginx-error-page/)
5. Download the generated static files from the `gh-pages` branch or the artifact of the Actions.
6. Copy the static files to the directory eg. `/var/www/error-pages/`.
7. Locate to the NGINX config directory, usually `/etc/nginx/` or `/usr/local/nginx/conf/`.
8. Add a config file `error_pages.conf` in any directory, eg. `/etc/nginx/func.d/error_pages.conf`.(Ensure your nginx built with `ngx_http_sub_module` in order to replace the strings list below. If you use RHEL (including fedora, centos, etc.), you can enable the copr repository `dnf copr enable @shevon/nginx` to get the latest nginx version with the `ngx_http_sub_module` module.)
8. Add a config file `error_pages.conf` in any directory, eg. `/etc/nginx/func.d/error_pages.conf`.(Ensure your nginx was built with `ngx_http_sub_module` in order to replace the strings listed below. If you use RHEL (including fedora, centos, etc.), you can enable the copr repository `dnf copr enable @shevon/nginx` to get the latest nginx version with the `ngx_http_sub_module` module.)

```nginx
# error_pages.conf
Expand Down

0 comments on commit 65756a4

Please sign in to comment.