Changeset View
Changeset View
Standalone View
Standalone View
docker/proxy/rootfs/etc/nginx/nginx.conf
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | server { | ||||
location ~* ^/\\autodiscover/autodiscover.xml { | location ~* ^/\\autodiscover/autodiscover.xml { | ||||
proxy_pass http://roundcube:80; | proxy_pass http://roundcube:80; | ||||
proxy_set_header Host $host; | proxy_set_header Host $host; | ||||
proxy_set_header X-Real-IP $remote_addr; | proxy_set_header X-Real-IP $remote_addr; | ||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
} | } | ||||
rewrite ^/\\.well-known/(caldav|carddav) https://\$server_name/iRony/ redirect; | location ~ ^/\\.well-known/(caldav|carddav)(.*)$ { | ||||
return 301 /iRony/$2; | |||||
} | |||||
location /iRony { | location /iRony { | ||||
auth_request /auth; | auth_request /auth; | ||||
#auth_request_set $auth_status $upstream_status; | #auth_request_set $auth_status $upstream_status; | ||||
proxy_pass http://roundcube:80; | proxy_pass http://roundcube:80; | ||||
proxy_set_header Host $host; | proxy_set_header Host $host; | ||||
proxy_set_header X-Real-IP $remote_addr; | proxy_set_header X-Real-IP $remote_addr; | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |