-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: readme update * fix: remove extra quotes * fix: edit * 1.11.2
- Loading branch information
Showing
3 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,9 +36,9 @@ A lightweight tool for creating static custom HTTP error pages featuring a minim | |
If you would like to obtain precompiled packages, please download the latest version from the [official website](https://sapachev.github.io/error-pages/#precompiled-packages). | ||
|
||
The installation steps are following: | ||
1. Download the [package](https://sapachev.github.io/error-pages/#precompiled-packages) and extract the files | ||
2. Copy static HTML files from the `dist` directory to your server | ||
3. Copy and apply the configuration snippet from the `dist` to your web server configuration using the following line: `include /etc/nginx/snippets/nginx-error-pages.conf;` | ||
1. Download the [package](https://sapachev.github.io/error-pages/#precompiled-packages) and extract the files, and navigate to the `dist` directory | ||
2. Copy static HTML files and the `@assets` directory to the new `/usr/share/nginx/html/error-pages/` directory of your server | ||
3. Copy the `nginx-error-pages.conf` file to the existing `/etc/nginx/snippets/` directory and apply this snippet to your web server configuration using the following line: `include /etc/nginx/snippets/nginx-error-pages.conf;` (for detailed information, refer to the [Server Configurations](#server-configurations) section) | ||
|
||
|
||
## Basic Usage | ||
|
@@ -48,8 +48,7 @@ Requirements: installed Node.js 11+ | |
1. Checkout this repository to your local machine | ||
2. Run `npm install --production` command to install dependencies | ||
3. Run `npm run build` command to compile error pages and web server configuration snippets | ||
4. Copy static HTML files from the `dist` directory to your server | ||
5. Copy and apply the configuration snippet from the `dist` to your web server configuration using the following line: `include /etc/nginx/snippets/nginx-error-pages.conf;` | ||
4. The same steps 2-3 outlined in the [Primitive Usage](#primitive-usage) section | ||
|
||
``` | ||
$ git clone [email protected]:sapachev/error-pages.git | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters