Skip to content

Conversation

@jebabin
Copy link

@jebabin jebabin commented Apr 10, 2023

This allow to customise the location / of proxy blocks

@nginxproxymanagerci
Copy link

Docker Image for build 1 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-2816

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@webysther
Copy link

I think the #2899 is a complimentary to this one.

@jebabin
Copy link
Author

jebabin commented Aug 29, 2023

I think the #2899 is a complimentary to this one.

Unless I misunderstand the {{id}} things, It’s different as your patch allow a custom file per proxy entry while mine allow to have a custom config global to all proxy entries.
custom config per proxy can be done via GUI.

My use case is for example to customize the logging with if conditions (which can’t be done at an higher level of config) globally for all proxies

@github-actions
Copy link

PR is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Apr 14, 2024
@m-thalmann
Copy link

m-thalmann commented Mar 26, 2025

I would need this too! Any plans of merging this @ maintainers?

@m-thalmann
Copy link

For anyone needing this because you want to set headers for all proxy hosts you can use the following as a workaround:
data/nginx/custom/server_proxy.conf:

more_set_headers "X-Robots-Tag: noindex, nofollow, nosnippet, noarchive"; # just set whatever header you want 

Source: https://github.com/openresty/headers-more-nginx-module?tab=readme-ov-file#more_set_headers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants