diff options
Diffstat (limited to 'etc/httpd/conf.d')
-rw-r--r-- | etc/httpd/conf.d/local_mirror-ssl.cnf | 9 | ||||
-rw-r--r-- | etc/httpd/conf.d/local_mirror.conf | 22 |
2 files changed, 16 insertions, 15 deletions
diff --git a/etc/httpd/conf.d/local_mirror-ssl.cnf b/etc/httpd/conf.d/local_mirror-ssl.cnf index 2e40795..b078eb2 100644 --- a/etc/httpd/conf.d/local_mirror-ssl.cnf +++ b/etc/httpd/conf.d/local_mirror-ssl.cnf @@ -1,4 +1,4 @@ -# File: darmok:/etc/httpd/conf.d/local_mirror-ssl.cnf +# File: storage1:/etc/httpd/conf.d/local_mirror-ssl.cnf # Author: bgstack15 # Startdate: 2016-03-16 # Title: Common SSL Config for Apache @@ -7,7 +7,8 @@ # Usage: in an ssl vhost, use command # Include sites/local_mirror-ssl.cnf # Reference: jasper -# "Linux\Centos 7 Template\Adding the service httpd.docx" +# "Linux\Centos 7 Template\Adding the service httpd.docx" +# darmok:/etc/httpd/conf.d/local_mirror-ssl.cnf # Improve: # Document: Below this line SSLEngine on @@ -22,8 +23,8 @@ SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+EC SSLOptions +StdEnvVars </Directory> -SSLCertificateFile /etc/pki/tls/certs/darmok.crt -SSLCertificateKeyFile /etc/pki/tls/private/darmok.key +SSLCertificateFile /etc/pki/tls/certs/https-storage1.ipa.smith122.com.crt +SSLCertificateKeyFile /etc/pki/tls/private/https-storage1.ipa.smith122.com-nopw.key SetEnvIf User-Agent ".*MSIE 4\.0b2.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 diff --git a/etc/httpd/conf.d/local_mirror.conf b/etc/httpd/conf.d/local_mirror.conf index 1aa0aa1..ed49f2b 100644 --- a/etc/httpd/conf.d/local_mirror.conf +++ b/etc/httpd/conf.d/local_mirror.conf @@ -1,5 +1,5 @@ -Listen 192.168.1.11:180 -Listen 192.168.1.11:181 +Listen 192.168.1.14:180 +Listen 192.168.1.14:181 # I have the router redirecting ports 80,443 to 180,181 respectively. # Need these to operate properly @@ -8,13 +8,13 @@ Listen 192.168.1.11:181 #firewall-cmd --permanent --add-port=180/tcp --add-port=181/tcp #firewall-cmd --reload -<VirtualHost 192.168.1.11:180> +<VirtualHost 192.168.1.14:180> ServerName albion320.no-ip.biz:80 - ServerAlias albion320.no-ip.biz albion320 + ServerAlias albion320.no-ip.biz albion320 storage1 storage1.ipa.smith122.com ServerAdmin bgstack15@gmail.com - DocumentRoot /var/www/html/ + DocumentRoot /var/www Options +Indexes IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* @@ -42,7 +42,7 @@ Listen 192.168.1.11:181 Deny from All </FilesMatch> - <Directory "/var/www/html/smith122"> + <Directory "/var/www/smith122"> AllowOverride None Order allow,deny Allow from all @@ -50,15 +50,15 @@ Listen 192.168.1.11:181 </Directory> # Allows "centos.albion320.no-ip.biz" redirection to "albion320.no-ip.biz/centos" behavior - RewriteEngine On - RewriteCond %{HTTP_HOST} ^([^.]*)\.albion320\.no-ip\.biz$ - RewriteRule /(.*) http://albion320.no-ip.biz/%1/$1 [R,L] +# RewriteEngine On +# RewriteCond %{HTTP_HOST} ^([^.]*)\.albion320\.no-ip\.biz$ +# RewriteRule /(.*) http://albion320.no-ip.biz/%1/$1 [R,L] </VirtualHost> -<VirtualHost 192.168.1.11:181> +<VirtualHost 192.168.1.14:181> ServerName albion320.no-ip.biz:443 - ServerAlias albion320.no-ip.biz albion320 + ServerAlias albion320.no-ip.biz albion320 storage1 storage1.ipa.smith122.com Include conf.d/local_mirror-ssl.cnf |