Changeset View
Changeset View
Standalone View
Standalone View
www/obhttpd/files/patch-usr.sbin_httpd_httpd.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- usr.sbin/httpd/httpd.h.orig 2017-02-13 19:11:13 UTC | |||||
+++ usr.sbin/httpd/httpd.h | |||||
@@ -46,7 +46,7 @@ | |||||
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) | |||||
#endif | |||||
-#define CONF_FILE "/etc/httpd.conf" | |||||
+#define CONF_FILE "%%PREFIX%%/etc/obhttpd.conf" | |||||
#define HTTPD_SOCKET "/var/run/httpd.sock" | |||||
#define HTTPD_USER "www" | |||||
#define HTTPD_SERVERNAME "OpenBSD httpd" | |||||
@@ -58,8 +58,8 @@ | |||||
#define HTTPD_ERROR_LOG "error.log" | |||||
#define HTTPD_DEFAULT_TYPE { "bin", "application", "octet-stream", NULL } | |||||
#define HTTPD_LOGVIS VIS_NL|VIS_TAB|VIS_CSTYLE | |||||
-#define HTTPD_TLS_CERT "/etc/ssl/server.crt" | |||||
-#define HTTPD_TLS_KEY "/etc/ssl/private/server.key" | |||||
+#define HTTPD_TLS_CERT "%%PREFIX%%/etc/ssl/server.crt" | |||||
+#define HTTPD_TLS_KEY "%%PREFIX%%/etc/ssl/private/server.key" | |||||
#define HTTPD_TLS_CIPHERS "compat" | |||||
#define HTTPD_TLS_DHE_PARAMS "none" | |||||
#define HTTPD_TLS_ECDHE_CURVE "auto" |