Skip to content

Commit 21246c4

Browse files
committed
chore: update documentation
Added instructions about how to configure the allowed IP Signed-off-by: Vitor Mattos <[email protected]>
1 parent b9b7f0d commit 21246c4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ Available features:
1616
occ app:enable admin_group_manager
1717
occ app:enable groupquota
1818
```
19+
- Allowed IP
20+
21+
By security, this API only receive requests from a specific IP.
22+
- Run a tail with grep to watch by the word "Unauthorized access".
23+
```bash
24+
tail -f data/nextcloud.log|grep "Unauthorized access"
25+
```
26+
- Do a request to API endpoint and go back to terminal to check the logs and get the IP.
27+
- With the IP, run the follow command:
28+
```bash
29+
occ config:system:set admin_group_manager_allowed_ip --value <theIdentifiedIp>
30+
```
1931

2032
## Performance improving
2133
Systemd service

0 commit comments

Comments
 (0)