mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #5751 from nextcloud/add-npmplus-rp-guide
Add NPMplus to reverse-proxy.md
This commit is contained in:
commit
cb622f712b
1 changed files with 30 additions and 2 deletions
|
|
@ -411,6 +411,33 @@ server {
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
### NPMplus (Fork of Nginx-Proxy-Manager - NPM)
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
<summary>click here to expand</summary>
|
||||||
|
|
||||||
|
⚠️ **Please note:** This is not needed when running NPMplus as a community container.
|
||||||
|
|
||||||
|
First, make sure the environmental variables `PUID` and `PGID` in the `compose.yaml` file for NPM are either unset or set to `0`. <br>
|
||||||
|
If you need to change the GID/PID then please add `net.ipv4.ip_unprivileged_port_start=0` at the end of `/etc/sysctl.conf`. <br>
|
||||||
|
Note: this will cause that a non root user can bind privileged ports.
|
||||||
|
|
||||||
|
Second, see these screenshots for a working config:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
⚠️ **Please note:** Nextcloud will complain that X-XXS-Protection is set to the wrong value, this is intended by NPMplus. <br>
|
||||||
|
⚠️ **Please note:** look into [this](#adapting-the-sample-web-server-configurations-below) to adapt the above example configuration.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Nginx-Proxy-Manager - NPM
|
### Nginx-Proxy-Manager - NPM
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|
@ -419,8 +446,9 @@ server {
|
||||||
|
|
||||||
**Hint:** You may have a look at [this guide](https://github.com/nextcloud/all-in-one/discussions/588#discussioncomment-3040493) for a more complete but possibly oudated example.
|
**Hint:** You may have a look at [this guide](https://github.com/nextcloud/all-in-one/discussions/588#discussioncomment-3040493) for a more complete but possibly oudated example.
|
||||||
|
|
||||||
First, make sure the environmental variables `PUID` and `PGID` in the `compose.yaml` file for NPM are either unset or set to `0`.
|
First, make sure the environmental variables `PUID` and `PGID` in the `compose.yaml` file for NPM are either unset or set to `0`. <br>
|
||||||
If you need to change the GID/PID then please add `net.ipv4.ip_unprivileged_port_start=0` at the end of `/etc/sysctl.conf`. Note: this will cause that non root users can bind privileged ports.
|
If you need to change the GID/PID then please add `net.ipv4.ip_unprivileged_port_start=0` at the end of `/etc/sysctl.conf`. <br>
|
||||||
|
Note: this will cause that a non root user can bind privileged ports.
|
||||||
|
|
||||||
Second, see these screenshots for a working config:
|
Second, see these screenshots for a working config:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue