From derhil, 10 Months ago, written in nginx.
Embed
  1. location /dav/ {
  2.         proxy_pass           http://localhost:5232/;
  3.         proxy_set_header     X-Script-Name /dav;
  4.         proxy_set_header     X-Forwarded-For $proxy_add_x_forwarded_for;
  5.         proxy_set_header     X-Remote-User $remote_user;
  6.         proxy_read_timeout   300;
  7.         auth_basic           "Radicale - Password Required";
  8.         auth_basic_user_file radicale.passwd;
  9. }
  10.