I have a 2 website under different domains
1. domain1
2. domain2
both websites working through nginx:443 with routing to nginx:80
server { listen 80; listen [::]:80; server_name domain1; set $MAGE_ROOT /opt/domain1/current; set $MAGE_RUN_TYPE "website"; set $MAGE_RUN_CODE "domain1"; include /opt/domain1/current/nginx.conf; }
server { listen 80; listen [::]:80; server_name domain2; set $MAGE_ROOT /opt/domain1/current; set $MAGE_RUN_TYPE "website"; set $MAGE_RUN_CODE "domain2"; include /opt/domain1/current/nginx.conf; }
It is expected. It's scoping thing. Your administration's base URL is what is set on scope 0. There can only be one value in scope 0.