mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	write access list to proxy host config
This commit is contained in:
		| @@ -88,6 +88,10 @@ class AccessList extends Model { | ||||
| 			} | ||||
| 		}; | ||||
| 	} | ||||
|  | ||||
| 	get satisfy() { | ||||
| 		return this.satify_any ? 'satisfy any' : 'satisfy all'; | ||||
| 	} | ||||
| } | ||||
|  | ||||
| module.exports = AccessList; | ||||
|   | ||||
| @@ -49,6 +49,10 @@ class AccessListClient extends Model { | ||||
| 			} | ||||
| 		}; | ||||
| 	} | ||||
|  | ||||
| 	get rule() { | ||||
| 		return `${this.directive} ${this.address}`; | ||||
| 	} | ||||
| } | ||||
|  | ||||
| module.exports = AccessListClient; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user