No description
- Astro 72.5%
- CSS 12.9%
- TypeScript 5.5%
- JavaScript 4.8%
- Dockerfile 4.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| astro.config.mjs | ||
| bun.lock | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
hlsec.top
Setup
Docker
Project is compiled using bun and build files are found in /output inside the container.
Mount /output to ./html-output (see docker-compose.yml)
then import it from nginx.
docker compose up --build
Nginx configuration
server {
listen 80;
server_name hlsec.top;
root /path/to/built/html-output;
index index.html;
location / {
try_files $uri $uri/ $uri/index.html =404;
}
error_page 404 /404.html;
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
}