Does anybody happen to know of a guide that will tell me how to get #nginx, when receiving requests on port 443 for a certain directory and subdirectories (e.g. /caldav/*), to proxy it to the server listening on port 80?
This needs to coexist with nginx proxying all other requests NOT for that path and subdirectories to a different port (Pleroma, actually).
@deutrino You can't forward from 443 -> 80. It breaks SSL. You *can* forward from 80 -> 443, though:
listen 80 default_server;
listen [::]:80 default_server;
return 301 https://$host$request_uri;