- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
17 lines
827 B
Markdown
17 lines
827 B
Markdown
---
|
|
title: "nginx Pack"
|
|
description: "Serving ASW sites with nginx — config snippets and recommended settings."
|
|
type: docs
|
|
weight: 53
|
|
date: 2026-04-11
|
|
tags: ["packs", "nginx", "deploy"]
|
|
ai-disclosure: "generated"
|
|
ai-model: "claude-sonnet-4-6"
|
|
ai-provider: "Anthropic"
|
|
---
|
|
|
|
The nginx pack (`packs/nginx/`) provides ready-to-use server block snippets for static sites built with ASW. The snippets handle correct MIME types for `.css` files, cache headers, and clean URL rewrites so that `page/` serves `page/index.html` without explicit extensions.
|
|
|
|
Drop the relevant snippet into your nginx `conf.d/` directory and adjust the `root` path to point at your built site. No changes to ASW itself are required — the pack is purely a deployment convenience.
|
|
|
|
Stub — full configuration reference and examples will be added here.
|