Skip to content

Commit

Permalink
revert headings so that old links still work
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Oct 10, 2024
1 parent 0051b04 commit a087a6d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In order to run Nextcloud behind a web server or reverse proxy (like Apache, Ngi

**Please note:** Since the Apache container gets created by the mastercontainer, there is **NO** way to provide custom docker labels or custom environmental variables for the Apache container. So please do not attempt to do this because it will fail!

## 1. Configure the reverse proxy 🛠️
## 1. Configure the reverse proxy

### Adapting the sample web server configurations below
1. Replace `<your-nc-domain>` with the domain on which you want to run Nextcloud.
Expand Down Expand Up @@ -133,7 +133,7 @@ To make the config work you can run the following command:

</details>

### Caddy (recommended) 🔏
### Caddy (recommended)

<details>

Expand All @@ -154,7 +154,7 @@ The Caddyfile is a text file called `Caddyfile` (no extension) which – if you

</details>

### Caddy with ACME DNS-challenge 🔀
### Caddy with ACME DNS-challenge

<details>

Expand Down Expand Up @@ -182,7 +182,7 @@ You can get AIO running using the ACME DNS-challenge. Here is how to do it.

</details>

### Citrix ADC VPX / Citrix Netscaler 🔀
### Citrix ADC VPX / Citrix Netscaler

<details>

Expand Down Expand Up @@ -305,7 +305,7 @@ backend Nextcloud

</details>

### Nginx, Freenginx, Openresty 🔀
### Nginx, Freenginx, Openresty

<details>

Expand Down Expand Up @@ -399,7 +399,7 @@ server {

</details>

### Nginx-Proxy-Manager - NPM 🔀
### Nginx-Proxy-Manager - NPM

<details>

Expand Down Expand Up @@ -429,7 +429,7 @@ Also change `<you>@<your-mail-provider-domain>` to a mail address of yours.

</details>

### Nginx-Proxy 🔀
### Nginx-Proxy

<details>

Expand All @@ -443,7 +443,7 @@ Apart from that, there is a [manual-install](https://github.com/nextcloud/all-in

</details>

### Node.js with Express 🔀
### Node.js with Express

<details>

Expand Down Expand Up @@ -530,7 +530,7 @@ httpServer.on('upgrade', (req, socket, head) => {

</details>

### Synology Reverse Proxy 🔀
### Synology Reverse Proxy

<details>

Expand Down Expand Up @@ -636,7 +636,7 @@ The examples below define the dynamic configuration in YAML files. If you rather
</details>
### IIS with ARR and URL Rewrite 🔀
### IIS with ARR and URL Rewrite
<details>
Expand Down Expand Up @@ -714,7 +714,7 @@ Config examples for other reverse proxies are currently not documented. Pull req

</details>

## 2. Use this startup command 🚀
## 2. Use this startup command

After adjusting your reverse proxy config, use the following command to start AIO:<br>

Expand Down Expand Up @@ -771,11 +771,11 @@ On Synology DSM see https://github.com/nextcloud/all-in-one#how-to-run-aio-on-sy
Simply translate the docker run command into a docker-compose file. You can have a look at [this file](https://github.com/nextcloud/all-in-one/blob/main/compose.yaml) for some inspiration but you will need to modify it either way. You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
## 3. Limit the access to the Apache container 🔒
## 3. Limit the access to the Apache container
Use this environment variable during the initial startup of the mastercontainer to make the apache container only listen on localhost: `--env APACHE_IP_BINDING=127.0.0.1`. **Attention:** This is only recommended to be set if you use `localhost` in your reverse proxy config to connect to your AIO instance. If you use an ip-address instead of localhost, you should set it to `0.0.0.0`.
## 4. Open the AIO interface 🖥️
## 4. Open the AIO interface
After starting AIO, you should be able to access the AIO Interface via `https://ip.address.of.the.host:8080`.<br>
⚠️ **Important:** do always use an ip-address if you access this port and not a domain as HSTS might block access to it later! (It is also expected that this port uses a self-signed certificate due to security concerns which you need to accept in your browser)<br>
Expand All @@ -798,7 +798,7 @@ https://<your-nc-domain>:8443 {
Afterwards should the AIO interface be accessible via `https://ip.address.of.the.host:8443`. You can alternatively change the domain to a different subdomain by using `https://<your-alternative-domain>:443` instead of `https://<your-nc-domain>:8443` in the Caddyfile and use that to access the AIO interface.
## 6. How to debug things? 🐛
## 6. How to debug things?
If something does not work, follow the steps below:
1. Make sure to exactly follow the whole reverse proxy documentation step-for-step from top to bottom!
Expand Down

0 comments on commit a087a6d

Please sign in to comment.