addon-nginx-proxy-manager icon indicating copy to clipboard operation
addon-nginx-proxy-manager copied to clipboard

can't update custom location

Open Morriz opened this issue 1 year ago • 3 comments

Problem/Motivation

It is impossible to update a custom location

Expected behavior

No errors

Actual behavior

Errors:

Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0
[1/27/2024] [12:51:44 AM] [Nginx    ] › ⬤  debug     Deleting file: /config/nginx/proxy_host/1.conf
[1/27/2024] [12:51:44 AM] [Nginx    ] › ⬤  debug     Could not delete file: {
  "errno": -2,
  "syscall": "unlink",
  "code": "ENOENT",
  "path": "/config/nginx/proxy_host/1.conf"
}

Steps to reproduce

  1. create a custom location
  2. check url+path works
  3. update custom location path
  4. click settings next to it
  5. see the custom snippet still reflects old path
  6. check logs

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

Morriz avatar Jan 26 '24 23:01 Morriz

same here, seems to be related to an upstream issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3534 it seems a possible workaround is mentioned in issue 3512: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3512#issuecomment-1940868886

geezer78 avatar Feb 17 '24 14:02 geezer78

I ditched it in favor of an nginx-proxy fork with proxyprotocol support

Morriz avatar Feb 21 '24 19:02 Morriz

I guess I was wrong it is actually working! ... noob error: I forgot the insert the / before the path.

geezer78 avatar Feb 22 '24 13:02 geezer78

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] avatar Mar 24 '24 08:03 github-actions[bot]