diff --git a/postgresql/phppagadmin/install.md b/postgresql/phppagadmin/install.md index 1b15e98..2f0d214 100644 --- a/postgresql/phppagadmin/install.md +++ b/postgresql/phppagadmin/install.md @@ -3,7 +3,7 @@ First, lets add a symbolic link to the directory where you intend to place all your web files in. ``` -sudo ln -s /usr/share/webapps/phppgadmin /path/to/your/www +sudo ln -s /usr/share/phppgadmin /var/www ``` Next, lets create a server block for phpPgAdmin. Create a file /etc/nginx/sites-available/phppgadmin with the following contents. @@ -12,7 +12,7 @@ Next, lets create a server block for phpPgAdmin. Create a file /etc/nginx/sites- # Server block for phppgadmin service server{ server_name phppgadmin.example.com; - root /path/to/your/www/phppgadmin; + root /var/www/phppgadmin; access_log /var/log/phppgadmin/access.log; error_log /var/log/phppgadmin/error.log;