nexus-repository-dart
nexus-repository-dart copied to clipboard
Proxy Flutter Dart - Nexus
Hello, I have a problem configuring the proxy on a Nexus.
I have successfully installed the dart/flutter plugin in the nexus repository
export PUB_HOSTED_URL=http://[nexus_url]/repository/[repository_name]/ export FLUTTER_STORAGE_BASE_URL=http://[nexus_url]/repository/[repository_name]/
I have a dockerfile that I add those variables
ENV PUB_HOSTED_URL=http://xxxx:8089/repository/flutter-registry-proxy ENV FLUTTER_STORAGE_BASE_URL=http://xxxx:8089/repository/flutter-registry-proxy
now when I go to see the log (it is on gitlabci a pipeline)
HTTP response 502 Bad Gateway for GET http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator | took 0:00:00.015168 | cache-control: no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0 | content-length: 1543 | content-type: text/html | x-frame-options: DENY | pragma: no-cache | x-xss-protection: 1; mode=block | x-content-type-options: nosniff | content-security-policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation | server: Nexus/3.58.1-02 (OSS)
but when I go to check the http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator I get the 502 error
but if i go to http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator**/** i cant see the repository of nexus
it a bug? cand help @mat1e @cranst0n do you know what happend?