Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet463/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   459   460   461   462   463   464   465   466   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 360 
]
In addition to the sample website we discussed earlier, Ubuntu's default Apache 
implementation also includes another site configuration file, 
/etc/apache2/sites-
available/default-ssl.conf
. Unlike the sample site, this one is not enabled by 
default. This 
configuration file is similar to the sample site configuration but it's 
listening for connections on port 
443
 and contains additional configuration items 
related to TLS. Here's the content of that file, with the comments stripped out in 
order to save space on this page:
 
         
                ServerAdmin webmaster@localhost 
 
                DocumentRoot /var/www/html 
 
                ErrorLog ${APACHE_LOG_DIR}/error.log 
                CustomLog ${APACHE_LOG_DIR}/access.log combined 
 
                SSLEngine on 
 
                SSLCertificateFile      /etc/ssl/certs/ssl-cert- 
                snakeoil.pem 
                SSLCertificateKeyFile /etc/ssl/private/ssl-cert- 
                snakeoil.key 
 
                 
                                SSLOptions +StdEnvVars 
               
 
                 
                                SSLOptions +StdEnvVars 
               
 
 
       
 
 
We already went over the 
ServerAdmin

DocumentRoot

ErrorLog
, and 
CustomLog
 
options earlier in this chapter, but there are additional options in this file that we 
haven't seen yet. On the first line, we can see that this virtual host is listening on 
port 
443
. We also see 
_default_
 listed here instead of an IP address. The 
_default_
 
option only applies to unspecified traffic, which in this case means any traffic coming 
into port 
443
 that hasn't been identified in any other virtual host. In addition, the 
SSLEngine on
 option enables TLS traffic. Right after that, we have options for our 
TLS certificate file and key file, which we'll get to a bit later.


Chapter 14

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   459   460   461   462   463   464   465   466   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish