r
This commit is contained in:
@@ -595,7 +595,7 @@ h2.section-title strong {
|
|||||||
SPONSORS STRIP
|
SPONSORS STRIP
|
||||||
============================================================ */
|
============================================================ */
|
||||||
.sponsors-strip {
|
.sponsors-strip {
|
||||||
background: #f7f9f633;
|
background: rgba(255, 255, 255, 0.7);
|
||||||
border-top: 1px solid rgba(100, 179, 44, 0.2);
|
border-top: 1px solid rgba(100, 179, 44, 0.2);
|
||||||
border-bottom: 1px solid rgba(100, 179, 44, 0.2);
|
border-bottom: 1px solid rgba(100, 179, 44, 0.2);
|
||||||
padding: 40px 80px;
|
padding: 40px 80px;
|
||||||
@@ -1584,7 +1584,7 @@ footer {
|
|||||||
showTyping();
|
showTyping();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch('https://n8n.profice.de/webhook/a0029ebd-a73a-4f6d-bc24-f8ac80d363ee', {
|
const response = await fetch('https://n8n.support-space.de/webhook/a8754fe3-ecba-4d0c-b58d-6321c50fbe6e', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({ message: q })
|
body: JSON.stringify({ message: q })
|
||||||
|
|||||||
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Очищаем стандартную папку Nginx, чтобы удалить дефолтный index.html
|
||||||
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
|
|
||||||
|
# Копируем содержимое вашей папки
|
||||||
|
COPY ["Dekra WebSite", "/usr/share/nginx/html"]
|
||||||
|
|
||||||
|
# Копируем конфиг
|
||||||
|
COPY vhost.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
18
vhost.conf
Normal file
18
vhost.conf
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# Пытаемся найти файл, потом папку, если нет — отдаем 404
|
||||||
|
try_files $uri $uri/ $uri.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Настройка кэширования для картинок и видео
|
||||||
|
location ~* \.(jpg|jpeg|png|gif|ico|css|js|mp4|webm)$ {
|
||||||
|
expires 30d;
|
||||||
|
add_header Cache-Control "public, no-transform";
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user