you can try this line proxy_set_header Host $host; in location /moodle/ . It's work for me.
Reply: Redirection from apache2 server to nginx reverse proxy server w moodle 3.3
by Le Minh Tuan -
Number of replies: 0