mirror of
https://github.com/kwk/docker-registry-frontend.git
synced 2024-09-20 15:26:22 +08:00
Removed old nginx config
This commit is contained in:
parent
5e161340bf
commit
8bbcb599cb
|
@ -1,28 +0,0 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name localhost;
|
||||
|
||||
ssl on;
|
||||
ssl_certificate /etc/nginx/ssl/server.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/server.key;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
root html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
|
||||
# Proxy all docker REST API registry requests to the
|
||||
# docker registry server.
|
||||
location ^~ /v1/ {
|
||||
proxy_pass ${DOCKER_REGISTRY_URL};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue