kopia lustrzana https://github.com/linuxserver/docker-documentation
rodzic
d7de6684ee
commit
7a5bdc3e38
|
@ -494,7 +494,7 @@ server {
|
|||
|
||||
A reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client as if they originated from the Web server itself (Shamelessly borrowed from [another post on our blog](https://blog.linuxserver.io/2017/11/28/how-to-setup-a-reverse-proxy-with-letsencrypt-ssl-for-all-your-docker-apps/#whatisareverseproxy)).
|
||||
|
||||

|
||||

|
||||
|
||||
In this case, a user or a client browser can connect to our SWAG container via https on port 443, request a service such as Ombi, then our SWAG container connects to the ombi container, retrieves the data and passes it on to the client via https with our trusted cert. The connection to ombi is local and does not need to be encrypted, but all communication between our SWAG container and the client browser will be encrypted.
|
||||
|
||||
|
@ -934,11 +934,11 @@ Now we find the file named `nextcloud.subdomain.conf.sample` under SWAG's `/conf
|
|||
|
||||
If this is the first time we are accessing Nextcloud (we've never accessed it locally before), we can simply navigate to `https://nextcloud.linuxserver-test.duckdns.org` and we should see the Nextcloud set up page. We'll fill out the info, use the mariadb user `ncuser` and the password we selected in the environment variable (`ncpassword` in the above example) and we'll use `mariadb` as the Database Host address (container name as dns hostname).
|
||||
|
||||

|
||||

|
||||
|
||||
We should then be able to go through the intro slides and then see the Nextcloud dashboard with our shiny padlock icon next to the address bar.
|
||||
|
||||

|
||||

|
||||
|
||||
If this is an existing Nextcloud instance, or we set it up locally via the host IP address and local port, Nextcloud will reject proxied connections. In that case, we have to follow the instructions at the top of the `nextcloud.subdomain.conf` file:
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue