Comments (8)
You're welcome.
The image is based on Nginx, so you can put your own Nginx configuration to include your own certificates.
There will however be no automatic update of Let's Encrypt certificates.
Exemple of configuration to add in /etc/nginx/conf.d
:
server {
listen 443 ssl;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_certificate /etc/nginx/certs/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/privkey.pem;
}
server {
listen 80;
location / {
return 301 https://$host$request_uri;
}
}
from docker-registry-ui.
Yes. I suppose to make PR to support using attributes for this image and updated README. What do you think about?
from docker-registry-ui.
Yes, you can try.
Activating ssl option shouldn't be in the docker image because it is a specific configuration. Don't you think?
Updating the readme is a good idea (in order to have "how to add ssl in nginx" section).
from docker-registry-ui.
The Page is available with:
server {
listen 443 ssl;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_certificate /etc/nginx/certs/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/privkey.pem;
root /usr/share/nginx/html;
}
server {
listen 80;
location / {
return 301 https://$host$request_uri;
}
}
but my error with "remote error: tls: bad certificate" on the dockerhub is still the same
from docker-registry-ui.
Hi,
It seems that it's a certificate/nginx configuration issue, either your key or fullchain are incorrect (incorrect format or are not certificates).
from docker-registry-ui.
Sorry, I'm currently in Japan and can't go further for this issue.
from docker-registry-ui.
Hello,
I wrote an example for this issue, you can see it here : examples/issue-20
from docker-registry-ui.
I did all in the example, but i don't understand "You will need to rewrite all the project configuration (replaces proxy_pass with our value)."
Only get:
ui_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
ui_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
ui_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
ui_1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
ui_1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
ui_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
ui_1 | sed: can't move '/etc/nginx/conf.d/default.confCaPkPD' to '/etc/nginx/conf.d/default.conf': Resource busy
ui_1 | sed: can't move '/etc/nginx/conf.d/default.confJogDGK' to '/etc/nginx/conf.d/default.conf': Resource busy
ui_1 | sed: can't move '/etc/nginx/conf.d/default.confepeBnm' to '/etc/nginx/conf.d/default.conf': Resource busy
docker-registry_ui_1 exited with code 1
from docker-registry-ui.
Related Issues (20)
- UI can't list tags if the registry use S3 backend. HOT 1
- Search bar "placeholder" has low contrast on dark mode HOT 1
- Feature request: Allow hiding the history feature to reduce complexity of the user interface
- Reject pull/push images throung env variable HOT 5
- Help with Scaleway private registry HOT 2
- Allow adding a description for known images HOT 1
- CVE-2024-24989 in used version of nginx HOT 1
- Issue with Access-Control-Allow-Credentials header HOT 1
- docker-registry-ui.js:40 Uncaught TypeError: Cannot read properties of undefined (reading 'filter') HOT 4
- Missing input for username & password in the GUI HOT 1
- ipv6 support
- Using Token Auth
- Updated traefik example
- Delete Tag: The operation is unsupported. HOT 3
- Request to add proxy repository and cache settings
- Question about setting up connection with registry over https HOT 3
- Cors error when looking at details of image HOT 3
- The nginx registry cache cannot pull an image HOT 1
- Favicon has low contrast on dark browser
- Hello, I'd like to know why adding new HTML under /dist doesn't recognize custom components like index.html.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-registry-ui.