github-classroom[bot] d79b183027 Initial commit
2025-01-21 11:00:40 +01:00

14 lines
328 B
Plaintext

server {
listen 80;
root /usr/share/nginx/html;
# Enables Gzip compression for efficiency
gzip on;
gzip_types text/plain text/javascript text/css application/json;
# Handles routing for static files and serves index.html as a fallback
location / {
try_files $uri $uri/ /index.html;
}
}