aboutsummaryrefslogtreecommitdiff
path: root/docs/installation_1/openbsd/httpd.conf
diff options
context:
space:
mode:
authordcc <dcc@logografos.com>2024-05-15 00:57:23 -0700
committerdcc <dcc@logografos.com>2024-05-15 00:57:23 -0700
commitb31a934a804aed3f35442ceafe2080b0955e7317 (patch)
tree947b13a0388ecea81e05dd980baa10f7546860b9 /docs/installation_1/openbsd/httpd.conf
parentea33a0d3427f8b30b82a6ddbc0ff7429cfaf8d91 (diff)
downloadanni-master.tar.gz
anni-master.tar.bz2
anni-master.zip
total rebaseHEADmaster
Diffstat (limited to 'docs/installation_1/openbsd/httpd.conf')
-rwxr-xr-xdocs/installation_1/openbsd/httpd.conf36
1 files changed, 0 insertions, 36 deletions
diff --git a/docs/installation_1/openbsd/httpd.conf b/docs/installation_1/openbsd/httpd.conf
deleted file mode 100755
index 82f4803..0000000
--- a/docs/installation_1/openbsd/httpd.conf
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Default httpd.conf file for Pleroma on OpenBSD
-# Simple installation instructions
-# 1. Place file in /etc
-# 2. Replace <IPv4 address> with your public IP address
-# 3. If using IPv6, uncomment IPv6 lines and replace <IPv6 address> with your public IPv6 address
-# 4. Check file using 'doas httpd -n'
-# 5. Enable and start httpd:
-# # doas rcctl enable httpd
-# # doas rcctl start httpd
-#
-
-ext_inet="<IPv4 address>"
-#ext_inet6="<IPv6 address>"
-
-server "default" {
- listen on $ext_inet port 80 # Comment to disable listening on IPv4
-# listen on $ext_inet6 port 80 # Comment to disable listening on IPv6
- listen on 127.0.0.1 port 80 # Do NOT comment this line
-
- log syslog
- directory no index
-
- location "/.well-known/acme-challenge/*" {
- root "/acme"
- request strip 2
- }
-
- location "/robots.txt" { root "/htdocs/local/" }
- location "/*" { block return 302 "https://$HTTP_HOST$REQUEST_URI" }
-}
-
-types {
- include "/usr/share/misc/mime.types"
-}
-