Linuxserver/swag running on br0 (macvlan) network Cannot reverse proxy

unraid,linuxserver/swag running on br0 (macvlan) network Cannot reverse proxy,Normal operation in the local area network, enter the external network address can not work, the display is: 502 Bad Gateway.If linuxserver/nginx is network type:custom:Bridge, it can run normally when connecting to the external network; if it runs in network type:custom:bro, what should I do? Expect a solution, thank you very much! ! !

details as follows:

  1. Create a network hyx through commands
    docker network create hyx
  2. The choice of reverse proxy software is linuxserver/swag network type:custom:hyx, which is used to proxy docker

3.Because another docker:linuxserver/nginx needs a fixed IP for internal and external network use, so the network is network type:custom:bro Fixed IP address:,
The corresponding *.subdomain.conf file is:
server {
listen 443 ssl;
listen [::]:443 ssl;


include /config/nginx/ssl.conf;

client_max_body_size 0;

location / {
    include /config/nginx/proxy.conf;
    resolver valid=30s;
    set $upstream_app;
    set $upstream_port 80;
    set $upstream_proto http;
    proxy_pass $upstream_proto://$upstream_app:$upstream_port;