Revize e334a6c0
Přidáno uživatelem Tomáš Ballák před téměř 5 roky(ů)
docker-compose-dev.yml | ||
---|---|---|
5 | 5 |
volumes: |
6 | 6 |
- vscode-extensions-php:/var/www/symfony/.vscode-server/extensions |
7 | 7 |
- ./logs/xdebug:/var/www/symfony/xdebug |
8 | ||
8 | 9 |
crawler: |
9 | 10 |
volumes: |
10 | 11 |
- vscode-extensions-crawler:/src/.vscode-server/extensions |
docker-compose-prod.yml | ||
---|---|---|
16 | 16 |
crawler: |
17 | 17 |
volumes: |
18 | 18 |
- /logs/crawler:/src/CrawlerLogs |
19 |
- /data/crawler:/src/CrawledData |
|
19 |
- /data/crawler:/src/CrawledData |
|
20 |
php-fpm: |
|
21 |
environment: |
|
22 |
- APP_ENV=prod |
|
23 |
- APP_DEBUG=0 |
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 -d heatmap.zcu.cz -d www.heatmap.zcu.cz --nginx /etc/nginx/sites-available/default.conf --debug 2; \
|
|
9 |
bash acme.sh --issue --nginx /etc/nginx/sites-available/default.conf -d heatmap.zcu.cz -d www.heatmap.zcu.cz --debug 2; \
|
|
10 | 10 |
bash acme.sh --installcert -d heatmap.zcu.cz -d www.heatmap.zcu.cz\ |
11 | 11 |
--key-file /certificate/key.pem \ |
12 | 12 |
--fullchain-file /certificate/cert.pem \ |
website/public/css/404.css | ||
---|---|---|
1 |
.error-box-404{ |
|
2 |
display: flex; |
|
3 |
width: 50vw; |
|
4 |
height: 50vh; |
|
5 |
margin: auto; |
|
6 |
margin-top: 24vh; |
|
7 |
justify-content: center; |
|
8 |
flex-direction: column; |
|
9 |
align-items: center; |
|
10 |
font-family: 'Be Vietnam', sans-serif; |
|
11 |
} |
|
12 |
.error-box-404 h1{ |
|
13 |
font-size: 150pt; |
|
14 |
color: rgb(20,20,20); |
|
15 |
text-shadow: 1px 1px #0B155A; |
|
16 |
margin: 0px; |
|
17 |
font-weight: bold; |
|
18 |
} |
|
19 |
.error-box-404 h2{ |
|
20 |
font-size: 14pt; |
|
21 |
font-weight: normal; |
|
22 |
margin-left: -50px; |
|
23 |
margin-right: -50px; |
|
24 |
color: dimgray; |
|
25 |
} |
|
26 |
.error-box-404 h1 span { |
|
27 |
display: inline-block; |
|
28 |
animation-name: example; |
|
29 |
animation-timing-function: cubic-bezier(0.95, 0.05, 0.795, 0.035); |
|
30 |
animation-fill-mode: forwards; |
|
31 |
animation-duration: 4s; |
|
32 |
} |
|
33 |
.error-box-404 > a{ |
|
34 |
background: black; |
|
35 |
padding: 15px; |
|
36 |
padding-left: 20px; |
|
37 |
padding-right: 20px; |
|
38 |
border-radius: 30px; |
|
39 |
color: white; |
|
40 |
} |
|
41 |
.error-box-404 > a { |
|
42 |
text-decoration: none; |
|
43 |
color: white; |
|
44 |
font-weight: bold; |
|
45 |
transition: all 0.3s ease-out; |
|
46 |
} |
|
47 |
.error-box-404 > a:hover { |
|
48 |
-webkit-box-shadow: 0px 0px 54px 0px rgba(0,0,0,0.41); |
|
49 |
-moz-box-shadow: 0px 0px 54px 0px rgba(0,0,0,0.41); |
|
50 |
box-shadow: 0px 0px 54px 0px rgba(0,0,0,0.41); |
|
51 |
} |
|
52 |
.error-box-wrapper { |
|
53 |
width: 100vw; |
|
54 |
height: 100vh; |
|
55 |
display: flex; |
|
56 |
flex-direction: column; |
|
57 |
justify-content: center; |
|
58 |
align-items: center; |
|
59 |
background: whtie; |
|
60 |
} |
website/templates/bundles/TwigBundle/Exception/error404.html.twig | ||
---|---|---|
1 |
{# templates/bundles/TwigBundle/Exception/error404.html.twig #} |
|
2 |
{% extends 'base.html.twig' %} |
|
3 |
{% block stylesheets %} |
|
4 |
<link rel="stylesheet" href="{{ asset('css/404.css') }}"> |
|
5 |
{% endblock %} |
|
6 | ||
7 |
{% block body %} |
|
8 |
<div class="error-box-wrapper"> |
|
9 |
<div class="error-box-404"> |
|
10 |
<h2>Stránka nebyla nalezena</h2> |
|
11 |
<h1>404</h1> |
|
12 |
<a href="https://heatmap.zcu.cz"><span class="home">Domovská stránka ⇢ </span></a> |
|
13 |
</div> |
|
14 |
</div> |
|
15 |
{% endblock %} |
Také k dispozici: Unified diff
error site