mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #567] How to use custom configuration #475
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#475
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 @adicrescenzo on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/567
I need to use some custom ngnix configuration. In order to do that I've created the file
/data/nginx/custom/server_proxy.confwith this settings:How can I force ngnix to reload the settings and read this new file? I opened a shell on the ngnix-proxy-mangaer container and I launched the command
nginx -s reloadbut I got this error:
nginx: [emerg] "http" directive is not allowed here in /data/nginx/custom/server_proxy.conf:1@bitsvital commented on GitHub (Apr 22, 2021):
I had the same problem.
I went into /data/nginx/proxy_host and read the conf it states:
include /data/nginx/custom/server_proxy[.]conf;Instaed of using proxy_manager.conf use proxy_manager1.conf or proxy_manager2.conf
proxy_magaer[#].conf
sub in the number for the correct proxy conf file in /data/nginx/proxy_host
@github-actions[bot] commented on GitHub (Mar 26, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (May 5, 2025):
Issue was closed due to inactivity.