Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer redirect issue #134

Open
koolaji opened this issue Jan 22, 2023 · 0 comments
Open

composer redirect issue #134

koolaji opened this issue Jan 22, 2023 · 0 comments

Comments

@koolaji
Copy link

koolaji commented Jan 22, 2023

I want to use cache this repo with nexus composer proxy this is my composer.json example

{
    "name": "href/myrepo",
    "require-dev": {
        "nlp-tools/nlp-tools": "dev-develop"

    },
    "authors": [
        {
            "name": "NHAILA Achraf",
            "email": "achraf.nhaila@gmail.com"
        }
    ],
    "require": {
        "twbs/bootstrap": "5.0.2"
    },
    "repositories": {
        "repo-php": {
            "type": "composer",
            "url": "http://localhost:8081/repository/composer-proxy/"
        },
        "packagist": false
    }
}

composer config --global repositories.0 '{"type": "composer", "url": "http://localhost:8081/repository/packagist/"}' &&
composer config --global disable-tls true &&
composer config --global secure-http false &&
composer config --global repo.packagist false &&
composer update -vvv
as I checked this packagist redirects to GitHub or other sites nexus return error code 502/404 related to the version of nexus composer
Please help us to solve this problem
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant