diff docs/apache/000-default-le-ssl.conf @ 0:b51518614818 default tip

New Files
author Pluto <meokcin@gmail.com>
date Tue, 03 Sep 2024 15:57:25 +0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/apache/000-default-le-ssl.conf	Tue Sep 03 15:57:25 2024 +0800
@@ -0,0 +1,22 @@
+<IfModule mod_ssl.c>
+    <VirtualHost *:443>
+	    # The ServerName directive sets the request scheme, hostname and port that
+	    # the server uses to identify itself. This is used when creating
+	    # redirection URLs. In the context of virtual hosts, the ServerName
+	    # specifies what hostname must appear in the request's Host: header to
+	    # match this virtual host. For the default virtual host (this file) this
+	    # value is not decisive as it is used as a last resort host regardless.
+	    # However, you must set it for any further virtual host explicitly.
+	    #ServerName www.example.com
+
+	    ServerAdmin webmaster@localhost
+	    DocumentRoot /var/www/html
+
+	    ErrorLog ${APACHE_LOG_DIR}/error.log
+	    CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+        <Directory /var/www/html>
+            AllowOverride All
+        </Directory>
+    </VirtualHost>
+</IfModule>