Browse Source

Changed error page internal location

Webysther Nunes 7 years ago
parent
commit
111def4854
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -39,7 +39,7 @@ wget https://raw.githubusercontent.com/AndiDittrich/HttpErrorPages/master/dist/p
 
 
 File: [`default.conf`](https://www.nginx.com/resources/wiki/start/topics/examples/full/)
 File: [`default.conf`](https://www.nginx.com/resources/wiki/start/topics/examples/full/)
 
 
-Example - assumes HttpErrorPages are located into `/var/www/ErrorPages/`.
+Example - assumes HttpErrorPages are located into `/var/ErrorPages/`.
 
 
 ```nginx
 ```nginx
 server {
 server {
@@ -65,7 +65,7 @@ server {
 
 
     # redirect the virtual ErrorPages path the real path
     # redirect the virtual ErrorPages path the real path
     location /ErrorPages/ {
     location /ErrorPages/ {
-        alias /var/www/ErrorPages/;
+        alias /var/ErrorPages/;
         internal;
         internal;
     }
     }
 ```
 ```