if admin isNone:
admin = f"admin@{env.http_tld}" if len(admin.strip()):
self.add_admin(admin)
self.add([ "MDRetryDelay 1s", # speed up testing a little
]) if local_ca:
self.add([
f"MDCertificateAuthority {env.acme_url}",
f"MDCertificateAgreement accepted",
f"MDCACertificateFile {env.server_dir}/acme-ca.pem", "",
]) if std_ports:
self.add(f"MDPortMap 80:{env.http_port} 443:{env.https_port}") if env.ssl_module == "mod_tls":
self.add(f"TLSListen {env.https_port}")
self.add([ "", " SetHandler server-status", "", "", " SetHandler md-status", "",
]) if std_vhosts:
self.add_vhost_test1() if proxy:
self.add([
f"Listen {self.env.proxy_port}",
f"", " ProxyRequests On", " ProxyVia On", " # be totally open", " AllowCONNECT 0-56535", " ", " # No require or other restrictions, this is just a test server", " ", "",
]) if text isnotNone:
self.add(text)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.