mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-22 15:52:41 +00:00
feat: per-path access lists, host logs modal, PostgreSQL support
- 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
This commit is contained in:
1 parent
a62c2a6dc3
commit
4a0f212289
16 files changed
+434
-78
No files matched your search
@@ -0,0 +1,8 @@
|
||||
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 },
|
||||
});
|
||||
}
|
||||
@@ -27,6 +27,7 @@ export * from "./getDeadHosts";
|
||||
export * from "./getHealth";
|
||||
export * from "./getHostsReport";
|
||||
export * from "./getProxyHost";
|
||||
export * from "./getProxyHostLogs";
|
||||
export * from "./getProxyHosts";
|
||||
export * from "./getRedirectionHost";
|
||||
export * from "./getRedirectionHosts";
|
||||
|
||||
@@ -103,6 +103,8 @@ export interface ProxyLocation {
|
||||
forwardScheme: string;
|
||||
forwardHost: string;
|
||||
forwardPort: number;
|
||||
accessListId?: number;
|
||||
accessList?: AccessList;
|
||||
}
|
||||
|
||||
export interface ProxyHost {
|
||||
|
||||
Reference in new issue
Block a user