whoami7 - Manager
:
/
etc
/
apache2
/
sites-available
/
Upload File:
files >> //etc/apache2/sites-available/nc-le-ssl.conf
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName nc.ncdesarrollos.com ServerAlias nc.ncdesarrollos.com ServerAdmin proyectos@ncdesarrollos.es DocumentRoot /data/vhosts/nc/www ErrorLog /data/vhosts/nc/logs/error.log CustomLog /data/vhosts/nc/logs/access.log combined <Directory /data/vhosts/nc/www> Options Indexes FollowSymLinks MultiViews AllowOverride All </Directory> RewriteEngine on # Some rewrite rules in this file were disabled on your HTTPS site, # because they have the potential to create redirection loops. # RewriteCond %{SERVER_NAME} =nc.ncdesarrollos.com # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] SSLCertificateFile /etc/letsencrypt/live/nc.ncdesarrollos.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/nc.ncdesarrollos.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </IfModule>
Copyright ©2021 || Defacer Indonesia