Simple Linux Panel
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.
mdserver-web/plugins/pgadmin/conf/pgadmin.conf

37 lines
661 B

8 months ago
server
{
8 months ago
listen 5051;
8 months ago
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/pma.pass;
#AUTH_END
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /.*\.(log|pass|json|pl)$ {
deny all;
}
location ~ /\.
{
deny all;
}
access_log {$SERVER_PATH}/pgadmin/access.log;
error_log {$SERVER_PATH}/pgadmin/error.log;
}