mdserver-web/plugins/pgadmin/conf/pgadmin.conf

21 lines
462 B
Plaintext
Raw Permalink Normal View History

2024-09-30 16:08:12 -04:00
server
{
2024-10-01 02:24:52 -04:00
listen 5051;
2024-09-30 16:08:12 -04:00
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";
2024-10-01 05:05:59 -04:00
auth_basic_user_file {$SERVER_PATH}/pgadmin/pg.pass;
2024-09-30 16:08:12 -04:00
#AUTH_END
2024-10-01 03:57:26 -04:00
location / {
proxy_pass http://unix:/tmp/pgadmin4.sock;
2024-09-30 16:08:12 -04:00
}
access_log {$SERVER_PATH}/pgadmin/access.log;
error_log {$SERVER_PATH}/pgadmin/error.log;
}