Changes between Initial Version and Version 1 of Apache2


Ignore:
Timestamp:
01/24/22 15:51:16 (3 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Apache2

    v1 v1  
     1= Apache2 =
     2
     3SSL Apache2 reverse proxy
     4{{{
     5#!sh
     6[root@Bluefin sites-enabled]# pwd
     7/etc/apache2/sites-enabled
     8[root@Bluefin sites-enabled]# more sslHost2.conf
     9<VirtualHost *:443>
     10    #DocumentRoot /var/www/html
     11    ServerName www.anundatech.com
     12        SSLEngine on
     13        SSLCertificateFile /etc/apache2/star_anundatech_com_187980155/star_anundatech_com.crt
     14        SSLCertificateKeyFile /etc/apache2/star_anundatech_com_187980155/key_star_anundatech_com.txt
     15        SSLCertificateChainFile /etc/apache2/star_anundatech_com_187980155/DigiCertCA.crt
     16    ProxyRequests Off
     17    SSLProxyEngine On
     18    ProxyPreserveHost On
     19    <Proxy *>
     20        AddDefaultCharset Off
     21        Order deny,allow
     22        Allow from all
     23    </Proxy>
     24    ProxyPass / http://127.0.0.1:8081/
     25    ProxyPassReverse / http://127.0.0.1:8081/
     26    ErrorLog ${APACHE_LOG_DIR}/error.log
     27</VirtualHost>
     28}}}
     29
     30Then start simple HTTP Server with
     31{{{
     32#!sh
     33[krit@Bluefin T2]$ python3 -m http.server --bind 127.0.0.1 8081
     34}}}
     35
     36On any browser just type in '''https://www.anundatech.com'''