Когда надо обратиться с apache на nginx

docker-compose


    nginx:
        image: nginx
        restart: always
        container_name: app-nginx
        volumes:
             - ./nginx.conf:/etc/nginx/nginx.conf
             - ./nginx/:/etc/nginx/conf.d/
             - ./apache/data/:/data/
        environment:
            TZ: "Europe/Moscow" 
        ports:
            - "80:80"
            - "443:443"
        networks:
            - front
            - backend


    apache:
        build: ./apache
        container_name: app-apache
        restart: always 
        volumes:
            - ./php.ini:/usr/local/etc/php/php.ini
            - ./apache/data/:/data/

        links:
          - "nginx:test1.yandex.ru"