Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
obtain_let_s_encrypt_trusted_tls_certificate [23 June 2025 / 19:22:36] – [Using webroot Plugin] kadekobtain_let_s_encrypt_trusted_tls_certificate [23 June 2025 / 19:29:39] (current) – [Using webroot Plugin] kadek
Line 31: Line 31:
       DocumentRoot /var/www/vpn.example.com       DocumentRoot /var/www/vpn.example.com
       <Directory /var/www/vpn.example.com>       <Directory /var/www/vpn.example.com>
-        Options Indexes FollowSymLinks +         Options Indexes FollowSymLinks 
-        AllowOverride All +         AllowOverride All 
-        Require all granted +         Require all granted 
-     </Directory>+      </Directory>
   </VirtualHost>   </VirtualHost>
  
Line 43: Line 43:
   * Set www-data (Apache user) as the owner of the web root:   * Set www-data (Apache user) as the owner of the web root:
  
-  sudo chown www-data:www-data /var/www/vpn.example.com -R+  sudo chown -R www-data:www-data /var/www/vpn.example.com
  
   * Enable this virtual host:   * Enable this virtual host: