Code Monkey home page Code Monkey logo

Comments (6)

s0mm3rb avatar s0mm3rb commented on June 1, 2024 1

I'll quickly hijack your post, because I'm currently investigating an issue with custom locations, that could be related to yours
I think there might be a general problem with custom locations (I'm on 2.11.1)
as soon as I specify a custom location the host goes offline
the host file gets deleted and cannot be recreated
it throws an error that the file could not be deleted (but it was deleted)

Could not delete file: {
  "errno": -2,
  "code": "ENOENT",
  "syscall": "unlink",
  "path": "/data/nginx/proxy_host/41.conf"
}

the host works without specifying the custom location in the GUI
then add the custom location with CLI directly to the host file and reload nginx

from nginx-proxy-manager.

mxm199 avatar mxm199 commented on June 1, 2024

I didn't fully understand what needed to be done... I also tried to add a construction to the host file itself (from the guacamole manual)

location /guacamole/ {
    proxy_pass http://HOSTNAME:8080;
    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    access_log off;
}

image

But then the container does not restart and throws a bunch of errors on this configuration. Maybe I'm closing the brackets '}' incorrectly

image

If you remove the '}' after access_log off; then there are no errors, but it still does not work

from nginx-proxy-manager.

s0mm3rb avatar s0mm3rb commented on June 1, 2024

it looks like you've added it to the nginx config not the host config
you need to add your location to the host config file located under /data/nginx/proxy_host/<some number>.conf
add your host through the GUI and watch the log which host it is
(or search the config files with grep -n "yourhost" /data/nginx/proxy_host/*)
and reload nginx /usr/sbin/nginx -s reload

or downgrade nginx to a previous version
the GUI issue with custom locations might relate to #3647 and to #3678

from nginx-proxy-manager.

mxm199 avatar mxm199 commented on June 1, 2024

I installed version v2.10.4 and everything worked

from nginx-proxy-manager.

JiangJuHong avatar JiangJuHong commented on June 1, 2024

v2.11.1 The same problem exists

from nginx-proxy-manager.

irrwitzer42 avatar irrwitzer42 commented on June 1, 2024

Try 2.11.2, for me that one did the trick!

from nginx-proxy-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.