Add both rewrite rules for '/.well-known/' in Nginx config file.
This commit is contained in:
parent
7cc33d6246
commit
dba248f0b9
|
@ -385,13 +385,9 @@ file, then restart or reload Nginx service.
|
||||||
|
|
||||||
<h5>2: Redirect /.well-known/carddav access to SOGo</h5>
|
<h5>2: Redirect /.well-known/carddav access to SOGo</h5>
|
||||||
|
|
||||||
Find below line in `default.conf`:
|
iRedMail doesn't have `/.well-known` redirection in Nginx by default, so
|
||||||
|
please add lines below in the `server { listen 443; ...}` block,
|
||||||
```
|
in file `default.conf`:
|
||||||
rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
|
||||||
```
|
|
||||||
|
|
||||||
Add a new line right after above line:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
||||||
|
|
|
@ -405,11 +405,9 @@ file, then restart or reload Nginx service.</p>
|
||||||
|
|
||||||
<h5>2: Redirect /.well-known/carddav access to SOGo</h5>
|
<h5>2: Redirect /.well-known/carddav access to SOGo</h5>
|
||||||
|
|
||||||
<p>Find below line in <code>default.conf</code>:</p>
|
<p>iRedMail doesn't have <code>/.well-known</code> redirection in Nginx by default, so
|
||||||
<pre><code>rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
please add lines below in the <code>server { listen 443; ...}</code> block,
|
||||||
</code></pre>
|
in file <code>default.conf</code>:</p>
|
||||||
|
|
||||||
<p>Add a new line right after above line:</p>
|
|
||||||
<pre><code>rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
<pre><code>rewrite ^/.well-known/caldav /SOGo/dav permanent;
|
||||||
rewrite ^/.well-known/carddav /SOGo/dav permanent;
|
rewrite ^/.well-known/carddav /SOGo/dav permanent;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
Loading…
Reference in New Issue