소스 검색

Changed error page internal location

Webysther Nunes 7 년 전
부모
커밋
111def4854
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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/)
 
-Example - assumes HttpErrorPages are located into `/var/www/ErrorPages/`.
+Example - assumes HttpErrorPages are located into `/var/ErrorPages/`.
 
 ```nginx
 server {
@@ -65,7 +65,7 @@ server {
 
     # redirect the virtual ErrorPages path the real path
     location /ErrorPages/ {
-        alias /var/www/ErrorPages/;
+        alias /var/ErrorPages/;
         internal;
     }
 ```