fix: Update nginx config to use dynamic DNS resolution
- Replace upstream blocks with resolver directive - Use variables for backend addresses to avoid startup errors - Simplify configuration with single server block - Add health check endpoint
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
type Promisable<T> = T | Promise<T>;
|
||||
|
||||
export type Callback = (
|
||||
directory: string,
|
||||
files: string[],
|
||||
) => Promisable<string | false | void>;
|
||||
|
||||
export default function (
|
||||
directory: string,
|
||||
callback: Callback,
|
||||
): Promise<string | void>;
|
||||
Reference in New Issue
Block a user