1
0
Fork 0
Creates a quick and direct config for OpenBSD's httpd
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Sean Howard afd4379eb9 Added main file and created readme vor 4 Jahren
LICENSE Initial commit vor 4 Jahren
README.md Added main file and created readme vor 4 Jahren
httpd_conf.sh Added main file and created readme vor 4 Jahren

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