mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
reorded nginx conf
This commit is contained in:
parent
8440e358a3
commit
e9c63b2db0
1 changed files with 11 additions and 11 deletions
|
@ -1,14 +1,4 @@
|
|||
# Add below lines for SOGo
|
||||
# SOGo
|
||||
location ~ ^/sogo { rewrite ^ https://$host/SOGo; }
|
||||
location ~ ^/SOGO { rewrite ^ https://$host/SOGo; }
|
||||
|
||||
# For IOS 7
|
||||
location = /principals/ {
|
||||
rewrite ^ https://$server_name/SOGo/dav;
|
||||
allow all;
|
||||
}
|
||||
|
||||
# SOGo Proxying
|
||||
location ^~ /SOGo {
|
||||
proxy_pass http://127.0.0.1:20000;
|
||||
proxy_redirect http://127.0.0.1:20000/SOGo/ /SOGo;
|
||||
|
@ -22,6 +12,16 @@
|
|||
proxy_set_header x-webobjects-server-url $scheme://$host;
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
# SOGo
|
||||
location ~ ^/sogo { rewrite ^ https://$host/SOGo; }
|
||||
location ~ ^/SOGO { rewrite ^ https://$host/SOGo; }
|
||||
|
||||
# For IOS 7
|
||||
location = /principals/ {
|
||||
rewrite ^ https://$server_name/SOGo/dav;
|
||||
allow all;
|
||||
}
|
||||
|
||||
|
||||
location /SOGo.woa/WebServerResources/ {
|
||||
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
|
||||
|
|
Loading…
Add table
Reference in a new issue