Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:29
    Shuro opened #842
  • Jan 24 22:59
    fiveangle opened #841
  • Jan 24 22:59
    fiveangle labeled #841
  • Jan 24 18:42
    chrnaum opened #840
  • Jan 24 18:42
    chrnaum labeled #840
  • Jan 23 18:33
    nalybuites opened #839
  • Jan 23 18:33
    nalybuites labeled #839
  • Jan 23 08:37
    jhemelo edited #838
  • Jan 23 08:35
    jhemelo opened #838
  • Jan 23 02:26
    aaronmweiss opened #837
  • Jan 23 02:26
    aaronmweiss labeled #837
  • Jan 22 17:44
    tarkh edited #836
  • Jan 22 17:43
    tarkh edited #836
  • Jan 22 17:43
    tarkh opened #836
  • Jan 22 17:43
    tarkh labeled #836
  • Jan 22 01:19
    metronidazole labeled #835
  • Jan 22 01:19
    metronidazole opened #835
  • Jan 21 13:56
    timohzbs closed #834
  • Jan 21 10:41
    timohzbs edited #834
  • Jan 21 10:41
    timohzbs edited #834
johntdavis84
@johntdavis84
I'm pretty stumped. Any help would be appreciated.
Mihuleac Sergiu
@physicalit
hey, what is the best way to add a default 404 page in npm? I noticed that all the changeable configuration is in data, so i assume i am free to edit what i want in etc/nginx, but i just wanna make sure there is nothing else allready implemented
2 replies
Mihuleac Sergiu
@physicalit
when using the option for cloudflare api in the ssl tab, will this also update the ip in case of dynamic ip?
johntdavis84
@johntdavis84
I just pulled the git repo and am trying to build an unmodified docker image from the Dockerfile
It bombs out at step 10
Step 10/26 : RUN echo "fs.file-max = 65535" > /etc/sysctl.conf && apk update && apk add python3 certbot jq && python3 -m ensurepip && rm -rf /var/cache/apk/
---> Running in ddb8b69d2703
standard_init_linux.go:219: exec user process caused: exec format error
The command '/bin/sh -c echo "fs.file-max = 65535" > /etc/sysctl.conf && apk update && apk add python3 certbot jq && python3 -m ensurepip && rm -rf /var/cache/apk/
' returned a non-zero code: 1
any ideas?
johntdavis84
@johntdavis84
It's all working! All I needed to do was set up a local copy of the resolver file, and make it read only.
Thanks for your help. I'd never have found the right answer otherwise.
Anthony Bush
@ehbush
Hey ya'll. Quick (hopefully) question - is the SSL implementation limited to LetsEncrypt only?
I see Free SSL using Let's Encrypt or provide your own custom SSL certificates but in the admin UI adding an SSL cert seems limited to LE only.
4 replies
carlyman
@carlyman
I've used Nginx for a while and trying out NPM now as it looks like a great simplifier. I've already played around with the Advanced Config stuff....but one thing I can't figure out is how to redirect www.domain.tld --> domain.tld . This is what I have used in the past (force SSL and remove www/subdomain):
# subdomains redirect
server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        server_name *.domain.tld;

        # SSL
       ssl_certificate     <removed>
       ssl_certificate_key <removed>

        return 301 https://domain.tld$request_uri;
}

# HTTP redirect
server {
        listen 80;
        listen [::]:80;

        server_name .domain.tld;

        location / {
                return 301 https://domain.tld$request_uri;
        }
}
Alban
@2Ben
Hi all, I'm trying to analyze the NPM logs with GoAccess, but it seems that the log format is custom
But I cannot find the right pattern nor the log format config for NPM
Any idea on the log format? Any way to make it just a standard nginx format?
johntdavis84
@johntdavis84
What is supposed to be in resolvers.conf? As in, it lists an IPv4 and IPv6 address for a server, but what IS that server supposed to be?
Right now, it's pointing at my router, which points at my on-LAN DNS server.
johntdavis84
@johntdavis84
Is that right?
I'm running into a problem with getting HTTPS reverse-proxy'd subdomains to resolve.
or rather, to connect.
The subdomain resolves to the server where npm is
but it cannot connect
I get: 504 Gateway Time-out
johntdavis84
@johntdavis84
the container is accessible over HTTPS if I use its ipv4 address and real port (e.g., http://10.1.1.10:5644)
the container (portainer) required me to generate a local self-signed certificate for it to accept HTTPS connections.
I'm honestly not sure if this is a portainer issue or an npm issue. Both my active containers (Pi-Hole and Portainer) aren't really meant to easily work with SSL.
johntdavis84
@johntdavis84
Fixed!
3 replies
johntdavis84
@johntdavis84
@jc21 Hello! As a quick followup to this issue from June 2020 ( jc21/nginx-proxy-manager#481 ) I wanted to confirm it is not possible to create a secure (HTTPS) login to the NPM admin pages without modifying the container.
Michael D
@mikeymop
Hello, does anyone have experience getting nextcloud running on npm?
Robin Rosiers
@RobinRosiers_gitlab
Hi,
I've a really bad issue here... I ran this software for about a half year now, but I have the issue that, when I add a reasonable load to an service that is passed throug the nginx service (or even not at all) (running the manager on a VM in proxmox) the I/O maxes plain out and alot of services go offline for a long time (50 minutes or more) while I can't do anything anymore on the server (since all the I/O is used by the proxy manager....) any idea on how to solve this? It's pretty urgent....
Robin Rosiers
@RobinRosiers_gitlab
When I suspend the proxy server, all of my services go back online (locally), so there is a BIG issue with this proxy... I just don't know how to fix the issue
Robin Rosiers
@RobinRosiers_gitlab
https://i.imgur.com/IUnQtLE.png this is an example..... tis is the constant I/O......
Skr4Y
@Skr4Y
Hey how can i update the Nginx?
Justin Herman
@JDogHerman
Question: Is there a way to add custom Nginx configurations to streams?
1 reply
johntdavis84
@johntdavis84
Good evening.
Potentially super-obvious question: what's the best way to see the changelog? I see that I've updated from 2.7.2, but I can't figure out what's changed.
pretty sure this is more me not knowing how to work with github than anything else.
johntdavis84
@johntdavis84
okay, nevermind, I found the releases tab :P
Robin Rosiers
@RobinRosiers_gitlab
Latest release: Going to the ssl certificates tab doesn't work. Throws error:
https://i.imgur.com/SCGqoNa.png
KonradRundfunk
@Konradrundfunk
hi how would i add matrix ports to the proxy manager
hewfish
@hewfish
I have a proxy setup fine, but I would like to block a specific path /admin for example being browsed on it. is there a simple way to create that or do I need to create another instance with the /admin above it and set it to 404 like in Ngnix?
Stefan Schelm
@sschelm
Hi there, I have a question regarding caches for a reverse proxy: I have found the config settings for the basic setup and I have multiple endpoints defined on the proxy.
My question: Is it sufficient to define the caching on the root element or do I need to define it in every endpoint I’ve configured?
My guess is, that I have to do it individually for all endpoints…
Noor Hapip Haekal
@hapiphaekal_gitlab
Hi, can Nginx Proxy Manager be installed without using Docker?
henniaufmrenni
@henniaufmrenni

Hi, can Nginx Proxy Manager be installed without using Docker?

No, as stated in the documentation:
https://nginxproxymanager.com/faq/#do-i-have-to-use-docker

wafikbs
@wafikbs
hey everyone. i'm try to add a custom location but cannot figure out why it is failing. i have server1.example.test and i add /server2 which i would like to forward to another local , lets say 192.168.1.2 which is running a different web app. server1 is on 192.168.1.1. how would i achieve that. i cannot find docs on how this would work. anyone has any hints how to fix this?
jonferreira
@jonferreira
Hey all. I'm - trying to - migrate from nginx on a RPI to NPM on a Synology Docker. Everything is up and running but I'm having issues with Access Lists. Even though I've added a username/password and applied that list a reverse proxy, I'm not getting anything, i.e. still open to the world. Looking at 1.conf file the location{} section is not being updated with the authentication details, i.e. no auth_basic and auth_basic_user_file properties set as well as the allow/deny all properties
what am I missing here? BTW I'm on /latest which claims to be 2.7.3 right now
interesting fact though it says v2.7.3 @ 2019
jonferreira
@jonferreira
OK so apparently this is a bug with custom locations!