mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
462 B
21 lines
462 B
server
|
|
{
|
|
listen 5051;
|
|
server_name 127.0.0.1;
|
|
index index.html index.htm index.php;
|
|
root {$SERVER_PATH}/pgadmin;
|
|
|
|
#error_page 404 /404.html;
|
|
|
|
#AUTH_START
|
|
auth_basic "Authorization";
|
|
auth_basic_user_file {$SERVER_PATH}/pgadmin/pg.pass;
|
|
#AUTH_END
|
|
|
|
location / {
|
|
proxy_pass http://unix:/tmp/pgadmin4.sock;
|
|
}
|
|
|
|
access_log {$SERVER_PATH}/pgadmin/access.log;
|
|
error_log {$SERVER_PATH}/pgadmin/error.log;
|
|
} |