A 403 problem appears in the nginx.conf log. Since the container version of nginx does not have any editing tools, it is not possible to view the configuration content of the nginx file in the container.
It may be a permissions issue. The analysis shows that there is a problem with the proxy request, which is not proxying to the correct remote server. As you can see from the log, the proxy request is not sent to the remote host.
After the editor’s crazy exploration and attempts, the initial configuration file of local nginx was modified. Finally, the normal configuration file content is as follows:
Please modify it based on your own project and try it based on this configuration file.