job-scraper/nginx.conf
Bastian Gruber e8eb9d3fcf
Initial commit: Job scraper for privacy/open-source companies
- Scrapes job listings from Greenhouse, Lever, and Ashby platforms
- Tracks 14 companies (1Password, DuckDuckGo, GitLab, etc.)
- SQLite database for change detection
- Filters by engineering job titles and location preferences
- Generates static HTML dashboard with search/filter
- Docker support for deployment to Debian server
2026-01-20 12:40:33 -04:00

24 lines
541 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
# Serve dashboard.html as the index
location / {
try_files /dashboard.html =404;
}
# Cache static assets
location ~* \.(html|css|js)$ {
expires 5m;
add_header Cache-Control "public, no-transform";
}
# Security headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
# Gzip
gzip on;
gzip_types text/html text/css application/javascript;
}