httpd_gravcms
Differences
This shows you the differences between two versions of the page.
| httpd_gravcms [2024/05/27 05:21] – created chris | httpd_gravcms [2026/02/08 02:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== OpenBSD httpd and GravCMS ====== | ||
| + | This article does not give directions on how to enable php the system assumes you have done this already | ||
| + | |||
| + | the code for httpd.conf using a default config is | ||
| + | |||
| + | < | ||
| + | server " | ||
| + | listen on * tls port 443 | ||
| + | root "/ | ||
| + | tls { | ||
| + | certificate "/ | ||
| + | key "/ | ||
| + | } | ||
| + | # assets | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | location " | ||
| + | # robots.txt | ||
| + | location "/ | ||
| + | location "/ | ||
| + | directory auto index | ||
| + | } | ||
| + | location " | ||
| + | root "/ | ||
| + | fastcgi socket "/ | ||
| + | } | ||
| + | directory index index.php | ||
| + | location "/ | ||
| + | root "/ | ||
| + | request strip 2 | ||
| + | } | ||
| + | } | ||
| + | </ | ||
