Compare commits

...

2 Commits

Author SHA1 Message Date
a2d15e507d Remove Kamal & Docker 2025-06-23 12:04:53 +02:00
e30249b929 Analytics 2025-06-23 12:04:32 +02:00
4 changed files with 2 additions and 72 deletions

View File

@ -1,20 +0,0 @@
service: hpg
image: images/hpg.romein.me
servers:
web: [91.99.31.93]
proxy:
host: 'hpg.romein.me'
app_port: 80
healthcheck:
path: '/'
registry:
server: code.smartyellow.net
username: romein
password: [KAMAL_REGISTRY_PASSWORD]
builder:
arch: amd64
remote: ssh://root@91.99.31.93

View File

@ -107,10 +107,9 @@ export default defineConfig({
head: [
[ 'script', {
async: '',
defer: '',
src: 'https://static.cloudflareinsights.com/beacon.min.js',
'data-cf-beacon': '{"token": "e1c160a4aa1641b1b8a387ad6438647b"}',
src: 'https://imamu.smartyellow.net/script.js',
'data-website-id': '344501f2-4e00-4d22-8682-bf2339ad5812',
} ],
],

View File

@ -1,13 +0,0 @@
FROM node:16-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
WORKDIR /usr/share/nginx/html
COPY --from=build /app/content/.vitepress/dist .
ENTRYPOINT ["nginx", "-g", "daemon off;"]

View File

@ -1,36 +0,0 @@
server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
add_header Cache-Control "public, max-age=0";
try_files $uri $uri.html $uri/index.html $uri/index.htm $uri/ /index.html /index.htm =404;
}
location ^~ /immutable/ {
root /usr/share/nginx/html;
expires 1y;
}
location ^~ /bijlagen/ {
root /usr/share/nginx/html;
expires 1y;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
try_files $uri @redirect_to_index;
internal;
}
error_page 404 = @handle_404;
location @handle_404 {
root /usr/share/nginx/html;
try_files /404.html @redirect_to_index;
internal;
}
location @redirect_to_index {
return 302 /;
}
}