[GH-ISSUE #1836] Conditional statements #1353

Closed
opened 2026-02-26 07:30:38 +03:00 by kerem · 0 comments
Owner

Originally created by @KairuByte on GitHub (Feb 8, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1836

Is your feature request related to a problem? Please describe.
Conditional statements appear to not be implemented in custom configuration settings. When an if statement such as the below is used, the host simply goes offline.

if($remote_addr != 127.0.0.1) {
proxy_set_header Cf-Access-Authenticated-User-Email "";
}

Describe the solution you'd like
Implement conditionals.

Originally created by @KairuByte on GitHub (Feb 8, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1836 **Is your feature request related to a problem? Please describe.** Conditional statements appear to not be implemented in custom configuration settings. When an if statement such as the below is used, the host simply goes offline. ``` if($remote_addr != 127.0.0.1) { proxy_set_header Cf-Access-Authenticated-User-Email ""; } ``` **Describe the solution you'd like** Implement conditionals.
kerem 2026-02-26 07:30:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1353
No description provided.