Skip to content

Apache server-status w sending reply

Все на https без www

#

   ServerName www.domain.com
   Redirect permanent / https://domain.com


#

    ServerName www.domain.com

    SSLEngine on
    SSLCertificateFile ...
    SSLCertificateKeyFile ...
    SSLCertificateChainFile ...

    Redirect permanent / https://domain.com





    SSLEngine on
    SSLCertificateFile ...
    SSLCertificateKeyFile ...
    SSLCertificateChainFile ...

    ServerName domain.com
    DocumentRoot /var/www/domain.com


Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted


    ErrorLog ${APACHE_LOG_DIR}/domain.com_error.log
    CustomLog ${APACHE_LOG_DIR}/domain.com_access.log combined