Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow to include custom configuration in the location / of proxy blocks #2816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jebabin wants to merge 1 commit into NginxProxyManager:develop
base: develop
Choose a base branch
Loading
from jebabin:patch-proxy_location

Conversation

@jebabin
Copy link

@jebabin jebabin commented Apr 10, 2023

This allow to customise the location / of proxy blocks

webysther reacted with hooray emoji
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.

Copy link

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

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

Copy link

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

Copy link

m-thalmann commented Mar 26, 2025
edited
Loading

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

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

webysther reacted with thumbs up emoji

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /