Hello, I've got sogo running on nginx although I had the same issue in apache. I can edit the config so that webmail.mydomain.com takes you to the login without /SOGo appearing, but if I do that and try to login I get "an unhandled error occurred"
Here's my config, it'll redirect you to /SOGo, so it works, just not the way I want it to. I'm beginning to suspect that the problem isn't down to nginx. Is this even possible, has anyone else done it? server { listen 80; server_name webmail.mydomain.net; rewrite ^ https://$server_name$request_uri? permanent; } server { listen 443; server_name webmail.mydomain.net; root /usr/lib/GNUstep/SOGo/WebServerResources/; ssl on; ssl_certificate /etc/nginx/ssl/server.crt; ssl_certificate_key /etc/nginx/ssl/server.key; location / { rewrite ^ https://webmail.mydomain.net/SOGo/ permanent; } location ^~/SOGo { #location ~ ^/(.*)$ { #location / { #rewrite ^ https://webmail.mydomain.net/SOGo/ permanent; #root SOGo; proxy_pass http://127.0.0.1:20000; #proxy_redirect http://127.0.0.1:20000 default; # forward user's IP address #proxy_set_header X-Real-IP $remote_addr; #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_set_header x-webobjects-server-protocol HTTP/1.0; proxy_set_header x-webobjects-remote-host 127.0.0.1; proxy_set_header x-webobjects-server-name $server_name; #proxy_set_header x-webobjects-server-url https://sogo.ias.u-psud.fr; proxy_set_header x-webobjects-server-url $scheme://$host; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 4k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k; client_max_body_size 50m; client_body_buffer_size 128k; break; } location /SOGo.woa/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; allow all; } location /.woa/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; allow all; } location /SOGo/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; allow all; } location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ { alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2; } location ^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ { alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2; } } -- users@sogo.nu https://inverse.ca/sogo/lists