Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Sean Howard
afd4379eb9
|
4 år sedan | |
---|---|---|
LICENSE | 4 år sedan | |
README.md | 4 år sedan | |
httpd_conf.sh | 4 år sedan |
README.md
httpd_config
Creates a quick and direct config for OpenBSD's httpd
Can be run via: httpd_conf.sh [fqdn] [/path/to/root] [php]
The php variable adds configs for passing to php-fpm.sock and sets the directory index to index.php
The root must be relative to the chroot (typically /htdocs).
I recently used this for: httpd_conf.sh jackpoint.obscuritus.ca /htdocs/mediawiki php
To generate a config for my mediawiki install for the Jackpoint Wiki I run for a shadowrun game