mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-10-01 01:09:51 +01:00
- Per-path access lists: assign different access lists to individual locations on the same proxy host - Host logs modal: view access/error logs from proxy host dropdown - PostgreSQL JSON containment query (@>) for location regeneration - Locale keys: action.logs, column.error
9 lines
240 B
TypeScript
9 lines
240 B
TypeScript
import * as api from "./base";
|
|
|
|
export async function getProxyHostLogs(id: number, type: "access" | "error" = "access"): Promise<{ logs: string }> {
|
|
return await api.get({
|
|
url: `/nginx/proxy-hosts/${id}/logs`,
|
|
params: { type },
|
|
});
|
|
}
|