Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 9716a3ee

Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)

little fixes

Zobrazit rozdíly:

scripts/renew_certificate.sh
6 6
if [ "$1" = "new" ]; then
7 7
    docker-compose exec nginx /bin/sh -c "
8 8
    cd /root/.acme.sh; \
9
    bash acme.sh  --issue --nginx /etc/nginx/sites-available/default.conf -d heatmap.zcu.cz -d www.heatmap.zcu.cz --debug 2; \
10
    bash acme.sh --installcert -d heatmap.zcu.cz -d www.heatmap.zcu.cz\
9
    bash acme.sh  --issue --nginx /etc/nginx/sites-available/default.conf -d heatmap.zcu.cz --debug 2; \
10
    bash acme.sh --installcert -d heatmap.zcu.cz\
11 11
    --key-file /certificate/key.pem \
12 12
    --fullchain-file /certificate/cert.pem \
13 13
    --reloadcmd 'bash /etc/init.d/nginx reload';
14 14
    ";
15
    elif [ "$1" = "new-www"];then
16
    docker-compose exec nginx /bin/sh -c "
17
    cd /root/.acme.sh; \
18
    bash acme.sh  --issue --nginx /etc/nginx/sites-available/default.conf -d www.heatmap.zcu.cz --debug 2; \
19
    bash acme.sh --installcert -d www.heatmap.zcu.cz\
20
    --key-file /certificate/key-www.pem \
21
    --fullchain-file /certificate/cert-www.pem \
22
    --reloadcmd 'bash /etc/init.d/nginx reload';
23
    ";
15 24
else
16
    docker-compose exec nginx /bin/sh -c "cd root/.acme.sh && bash acme.sh --renew -d heatmap.zcu.cz";
25
    docker-compose exec nginx /bin/sh -c "cd root/.acme.sh && bash acme.sh --renew -d heatmap.zcu.cz && bash acme.sh --renew -d www.heatmap.zcu.cz";
17 26
fi
website/public/css/404.css
50 50
    box-shadow: 0px 0px 54px 0px rgba(0,0,0,0.41);
51 51
}
52 52
.error-box-wrapper {
53
    width: 100vw;
54
    height: 100vh;
55 53
    display: flex;
56 54
    flex-direction: column;
57 55
    justify-content: center;
58 56
    align-items: center;
59 57
    background: whtie;
60
}
58
}
59

  
60
@media (max-width: 767.98px) {
61
    .error-box-404 h1{
62
        font-size: 100pt;
63
    }
64
    .error-box-404 > a{
65
        background: black;
66
        padding: 10px;
67
        padding-left: 15px;
68
        padding-right: 15px;
69
        border-radius: 30px;
70
        color: white;
71
    }
72
  }

Také k dispozici: Unified diff