File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
docs/third_party/roundcube Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 308308 ofelia.job-exec.roundcube_cleandb.command: "/bin/bash -c \" [ -f /var/www/html/bin/cleandb.sh ] && /var/www/htm/bin/cleandb.sh\" "
309309 ` ` `
310310
311- # # Plugins
311+ # ## Plugins
312312
313313 To add Plugins you have to specify them inside of the environment variables
314314 ` ROUNDCUBEMAIL_PLUGINS` AND
322322 ROUNDCUBEMAIL_COMPOSER_PLUGINS: "foorschtbar/dovecot_client_ip:~2"
323323 ` ` `
324324
325- # # Optional: Reverse Proxy
325+ # ## Optional: Reverse Proxy
326326
327327 To put Roundcube behind a Reverse Proxy like traefik you must add this to your `docker-compose.yml`file
328328
373373
374374 Now your Roundcube instance can be securily accessed from ` https://roundcube.example.com`.
375375
376+ If you want to access your Roundcube Instance on a subpath like `/rc`, you will need to add
377+ `ROUNDCUBEMAIL_REQUEST_PATH=/rc` to your environment, if that doesn't work, try the following :
378+ Create `data/web/conf/nginx/site.roundcube.custom`
379+ ` ` ` nginx
380+ location /rc/ { # /rc: your subpath
381+ proxy_pass http://roundcube:80/; # Replace with the correct upstream
382+ proxy_set_header Host $host;
383+ proxy_set_header X-Real-IP $remote_addr;
384+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
385+ proxy_set_header X-Forwarded-Proto $scheme;
386+ proxy_redirect off;
387+ }
388+ ` ` `
389+
376390# # Optional extra functionality
377391
378392# ## Enable change password function in Roundcube
You can’t perform that action at this time.
0 commit comments