nginx add request_url to proxy_path

I have to setup nginx reverse proxy for access to my ec2 servers. Now nginx add request_url(own url) to proxy_path url. How to setup nginx correctly so that it replaces its own address with the address from proxy_path? the proxy is trying to go to “http://ec2-52-59-167-252.eu-central-1.compute.amazonaws.com/ec2-18-197-101-139.eu-central-1.compute. amazonaws.com/api/todo ” my rev.conf upstream nginx_backends { server ec2-52-59-167-252.eu-central-1.compute.amazonaws.com:80;…

Nginx reverse proxy to Transmission with Docker Compose

I’m trying to get Nginx working as a reverse proxy for the Transmission web client. Both are in separate Docker containers with Docker Compose. Ive read previous similar questions, but these have not worked for me: https://unix.stackexchange.com/questions/64812/get-transmission-web-interface-working-with-web-server https://stackoverflow.com/questions/15391073/nginx-transmission-daemon-url-rewrite Nginx gives me the error: [error] 6#6: *3 “/etc/nginx/html/transmission/web/index.html” is not found (2: No such file or…