mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2412] Add option to insert custom directives outside of server-blocks #1693
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1693
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EliasStar on GitHub (Nov 18, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2412
Is your feature request related to a problem? Please describe.
Currently setting up OnlyOffice Document Server, which requires some custom directives outside the
server-block. In this case themapdirectives can only be used in thehttp-block. However there are serveral other cases where custom directives outside ofserver-blocks are useful.Describe the solution you'd like
Text fields for entering custom directives (like the one under "Advanced" in "Edit Proxy Host") which get inserted outside of the
server-blocks. This could be a single text field for insidehttpand another for global directives, both located in "Settings".Describe alternatives you've considered
The directives for
httpcould also be seperate for each proxy host. This would have the benefit of being able to group the directives with the proxy host for which they are needed. Additionally they could be stored in the proxy host config files, which would make implementing trivial (just copy paste existing custom directives forserver-blocks 🤔). In the UI the "Advanced" tab could simply be extended.Additional context
Hope this issue isn't a duplicate. I spent a considerable amount searching through the issues, however couldn't find an already existing issue.
@github-actions[bot] commented on GitHub (Feb 4, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Mar 21, 2025):
Issue was closed due to inactivity.