You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: readme.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -66,28 +66,28 @@ Included are:
66
66
</details>
67
67
68
68
4. After the initial startup, you should be able to open the Nextcloud AIO Interface now on port 8080 of this server.<br>
69
-
E.g. https://internal.ip.of.this.server:8080<br>
69
+
E.g. `https://internal.ip.of.this.server:8080`<br>
70
70
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatially by opening the Nextcloud AIO Interface via:<br>
5. Please do not forget to open port `3478/TCP` and `3478/UDP` for the Talk container!
72
73
73
74
## FAQ
74
75
### How does it work?
75
76
Nextcloud AIO is inspired by projects like Portainer that allow to manage the docker daemon by talking to the docker socket directly. This concept allows to install only one container with a single command that does the heavy lifting of creating and managing all containers that are needed in order to provide a Nextcloud installation with most features included. It also makes updating a breeze and is not bound to the host system (and its slow updates) anymore as everything is in containers. Additionally, it is very easy to handle from a user perspective because a simple interface for managing your Nextcloud AIO installation is provided.
76
77
77
78
### Are reverse proxies supported?
78
-
Reverse proxies are currently because of the above mentioned architecture not supported.<br>
79
-
You might investigate yourself though how it could made work behind reverse proxies. If you open a PR with that we might consider it then :)
79
+
Yes. Please refer to the following documentation on this: [reverse-proxy.md](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md)
80
80
81
81
### Which ports are mandatory to be open?
82
82
Only those (if you acces the Mastercontainer Interface internally via port 8080):
83
-
- `443/TCP` for the Nextcloud container
83
+
- `443/TCP` for the Apache container
84
84
- `3478/TCP` and `3478/UDP` for the Talk container
85
85
86
86
### Explanation of used ports:
87
87
- `8080/TCP`: Mastercontainer Interface with self-signed certificate (works always, also if only access via IP-address is possible, e.g. `https://internal.ip.address:8080/`)
88
88
- `80/TCP`: redirects to Nextcloud (is used for getting the certificate via ACME http-challenge for the Mastercontainer)
89
89
- `8443/TCP`: Mastercontainer Interface with valid certificate (only works if port 80 and 8443 are open and you point a domain to your server. It generates a valid certificate then automatically and access via e.g. `https://public.domain.com:8443/` is possible.)
90
-
- `443/TCP`: will be used by the Nextcloud container later on and needs to be open
90
+
- `443/TCP`: will be used by the Apache container later on and needs to be open
91
91
- `3478/TCP` and `3478/UDP`: will be used by the Turnserver inside the Talk container and needs to be open
Basically, you need to specify the port that the apache container shall use and modify the startup command a bit.
4
+
5
+
All examples below will use port `11000` as example apache port. Also it is supposed that the reverse proxy runs on the same server like AIO, hence `localhost` is used and not an internal ip-address to point to the AIO instance. Modify both to your needings.
After doing so, you should be able to access the AIO Interface via `https://internal.ip.of.this.server:8080`. Enter your domain that you've entered in the reverse proxy config and you should be done. Please do not forget to open port `3478/TCP` and `3478/UDP` for the Talk container!
53
+
54
+
### Optional
55
+
56
+
If you want to also access your AIO interface publicly with a valid certificate, you can add e.g. the following config to your Caddyfile:
57
+
58
+
```
59
+
https://<your-nc-domain>:8443 {
60
+
reverse_proxy https://localhost:8080 {
61
+
transport http {
62
+
tls_insecure_skip_verify
63
+
}
64
+
}
65
+
}
66
+
```
67
+
68
+
Of course you also need to modify `<your-nc-domain>` to the domain that you want to use. Afterwards should the AIO interface be accessible via `https://<your-nc-domain>:8443`.
0 commit comments