%PDF- %PDF-
Direktori : /etc/apache2/sites-available/ |
Current File : //etc/apache2/sites-available/pjc.tsisrl.net-le-ssl.conf |
<IfModule mod_ssl.c> <VirtualHost *:443> # The ServerName directive sets the request scheme, hostname$ # the server uses to identify itself. This is used when crea$ # redirection URLs. In the context of virtual hosts, the Ser$ # specifies what hostname must appear in the request's Host:$ # match this virtual host. For the default virtual host (thi$ # value is not decisive as it is used as a last resort host $ # However, you must set it for any further virtual host expl$ #ServerName www.example.com ServerName pjc.tsisrl.net ServerAlias www.pjc.tsisrl.net ServerAdmin webmaster@localhost DocumentRoot /var/www/pjc/public/ <Directory "/var/www/pjc/public/"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> # Available loglevels: trace8, ..., trace1, debug, info, not$ # error, crit, alert, emerg. # It is also possible to configure the loglevel for particul$ # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error_pjc.log CustomLog ${APACHE_LOG_DIR}/pjc.log combined # For most configuration files from conf-available/, which a$ # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For e$ # following line enables the CGI configuration for this host$ # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/pjc.tsisrl.net/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/pjc.tsisrl.net/privkey.pem </VirtualHost> </IfModule>