Changeset View
Changeset View
Standalone View
Standalone View
www/obhttpd/files/patch-etc_examples_httpd.conf
- 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 |
--- etc/examples/httpd.conf.orig 2016-10-17 10:49:16 UTC | |||||
+++ etc/examples/httpd.conf | |||||
@@ -20,62 +20,62 @@ server "default" { | |||||
} | |||||
# A name-based "virtual" server on the same address | |||||
-server "www.example.com" { | |||||
- listen on $ext_addr port 80 | |||||
- | |||||
- # Logging is enabled by default, but it can be turned off per server | |||||
- #no log | |||||
- | |||||
- location "/pub/*" { | |||||
- directory auto index | |||||
- log style combined | |||||
- } | |||||
- | |||||
- location "*.php" { | |||||
- fastcgi socket "/run/php-fpm.sock" | |||||
- } | |||||
- | |||||
- location "/cgi-bin/*" { | |||||
- fastcgi | |||||
- | |||||
- # The /cgi-bin directory is outside of the document root | |||||
- root "/" | |||||
- } | |||||
- | |||||
- root "/htdocs/www.example.com" | |||||
-} | |||||
+#server "www.example.com" { | |||||
+# listen on $ext_addr port 80 | |||||
+# | |||||
+# # Logging is enabled by default, but it can be turned off per server | |||||
+# #no log | |||||
+# | |||||
+# location "/pub/*" { | |||||
+# directory auto index | |||||
+# log style combined | |||||
+# } | |||||
+# | |||||
+# location "*.php" { | |||||
+# fastcgi socket "/run/php-fpm.sock" | |||||
+# } | |||||
+# | |||||
+# location "/cgi-bin/*" { | |||||
+# fastcgi | |||||
+# | |||||
+# # The /cgi-bin directory is outside of the document root | |||||
+# root "/" | |||||
+# } | |||||
+# | |||||
+# root "/htdocs/www.example.com" | |||||
+#} | |||||
# An HTTPS server using SSL/TLS | |||||
-server "secure.example.com" { | |||||
- listen on 127.0.0.1 tls port 443 | |||||
- | |||||
- # TLS certificate and key files created with acme-client(1) | |||||
- tls certificate "/etc/ssl/acme/fullchain.pem" | |||||
- tls key "/etc/ssl/acme/private/privkey.pem" | |||||
- | |||||
- # Define server-specific log files relative to /logs | |||||
- log { access "secure-access.log", error "secure-error.log" } | |||||
- | |||||
- # Increase connection limits to extend the lifetime | |||||
- connection { max requests 500, timeout 3600 } | |||||
- | |||||
- root "/htdocs/secure.example.com" | |||||
-} | |||||
+#server "secure.example.com" { | |||||
+# listen on 127.0.0.1 tls port 443 | |||||
+# | |||||
+# # TLS certificate and key files created with acme-client(1) | |||||
+# tls certificate "/usr/local/etc/ssl/acme/fullchain.pem" | |||||
+# tls key "%%PREFIX/etc/ssl/acme/private/privkey.pem" | |||||
+# | |||||
+# # Define server-specific log files relative to /logs | |||||
+# log { access "secure-access.log", error "secure-error.log" } | |||||
+# | |||||
+# # Increase connection limits to extend the lifetime | |||||
+# connection { max requests 500, timeout 3600 } | |||||
+# | |||||
+# root "/htdocs/secure.example.com" | |||||
+#} | |||||
# Another server on a different internal IPv4 address | |||||
-server "intranet.example.com" { | |||||
- listen on 10.0.0.1 port 80 | |||||
- directory { auto index, index "default.htm" } | |||||
- root "/htdocs/intranet.example.com" | |||||
-} | |||||
+#server "intranet.example.com" { | |||||
+# listen on 10.0.0.1 port 80 | |||||
+# directory { auto index, index "default.htm" } | |||||
+# root "/htdocs/intranet.example.com" | |||||
+#} | |||||
# An IPv6-based server on a non-standard port | |||||
-server "ipv6.example.com" { | |||||
- listen on 2001:db8::53f6:3eab port 81 | |||||
- root "/htdocs/ipv6.example.com" | |||||
-} | |||||
+#server "ipv6.example.com" { | |||||
+# listen on 2001:db8::53f6:3eab port 81 | |||||
+# root "/htdocs/ipv6.example.com" | |||||
+#} | |||||
# Include MIME types instead of the built-in ones | |||||
-types { | |||||
- include "/usr/share/misc/mime.types" | |||||
-} | |||||
+#types { | |||||
+# include "/usr/local/etc/mime.types" | |||||
+#} |