From 00b78b73507fe63cbde1b2964711cde08088399f Mon Sep 17 00:00:00 2001 From: spomata <49432438+spomata@users.noreply.github.com> Date: Fri, 1 Apr 2022 16:01:18 +0200 Subject: [PATCH] Adding missing semicolon after remote_addr --- docs/reverse.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reverse.rst b/docs/reverse.rst index 0f516d26..50ddaae5 100644 --- a/docs/reverse.rst +++ b/docs/reverse.rst @@ -47,7 +47,7 @@ Then on your own frontend, point to these local ports. In practice, you only nee location / { proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr + proxy_set_header X-Real-IP $remote_addr; proxy_pass https://localhost:8443; } } @@ -68,7 +68,7 @@ Because the admin interface is served as ``/admin``, the Webmail as ``/webmail`` location ~* ^/(admin|sso|static|webdav|webmail|(apple\.)?mobileconfig|(\.well\-known/autoconfig/)?mail/|Autodiscover/Autodiscover) { proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr + proxy_set_header X-Real-IP $remote_addr; proxy_pass https://localhost:8443; } @@ -111,7 +111,7 @@ Here is an example configuration : location /webmail { proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr + proxy_set_header X-Real-IP $remote_addr; proxy_pass https://localhost:8443/webmail; } } @@ -123,7 +123,7 @@ Here is an example configuration : location /admin { proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr + proxy_set_header X-Real-IP $remote_addr; proxy_pass https://localhost:8443/admin; proxy_set_header Host $http_host; }