Ignore:
Timestamp:
05/14/22 12:40:58 (7 weeks ago)
Author:
Paul Leo
Message:

Updating Production proxy httpd configuration files, prior to changes for going live
Had to comment out nmtracking.org and ibis.health.state.nm.us, until we actually have a DNS entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis001/apache_httpd_reverse_proxy/extra/httpd-vhosts.conf

    r25237 r25238  
    1717###### VirtualHost ibis.health.state.nm.us  #######
    1818###### redirecting of old DNS name to new DNS name (ibis.doh.nm.gov) ######
    19 
    20         <VirtualHost 10.100.2.16:443>
    21                 ServerName ibis.health.state.nm.us
    22                 #### use http2, and permit acme to just use 443
    23                 #### Protocols h2 http/1.1
    24                 Protocols h2 http/1.1 acme-tls/1
    25                
    26                 SSLEngine on
    27 
    28                 ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_ibis_error.log 86400"
    29                 CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_ibis_access.log 86400" combined
    30 
    31                 ######## This server is listening for ibis.health.state.nm.us It should redirect to ibis.doh.nm.gov/Alert.html
    32                 RewriteEngine  on
    33                 RewriteCond "%{HTTP_HOST}" "=ibis.health.state.nm.us"
    34                 RewriteRule  ".*" "https://ibis.doh.nm.gov/Alert.html"
    35                
    36                 Redirect / https://ibis.doh.nm.gov/Alert.html
    37                
    38         </VirtualHost>
     19##### Uncomment when have DNS ENTRY
     20#####   <VirtualHost 10.100.2.16:443>
     21#####           ServerName ibis.health.state.nm.us
     22#####           #### use http2, and permit acme to just use 443
     23#####           #### Protocols h2 http/1.1
     24#####           Protocols h2 http/1.1 acme-tls/1
     25#####           
     26#####           SSLEngine on
     27#####
     28#####           ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_ibis_error.log 86400"
     29#####           CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_ibis_access.log 86400" combined
     30#####
     31#####           ######## This server is listening for ibis.health.state.nm.us It should redirect to ibis.doh.nm.gov/Alert.html
     32#####           RewriteEngine  on
     33#####           RewriteCond "%{HTTP_HOST}" "=ibis.health.state.nm.us"
     34#####           RewriteRule  ".*" "https://ibis.doh.nm.gov/Alert.html"
     35#####           
     36#####           Redirect / https://ibis.doh.nm.gov/Alert.html
     37#####           
     38#####   </VirtualHost>
    3939
    4040###### VirtualHost ibis.doh.nm.gov ######
     
    4444        <VirtualHost 10.100.2.15:443>
    4545                ServerName ibisnew.health.state.nm.us
    46                 ######## ServerName ibis.doh.nm.gov 
     46######  ServerName ibis.doh.nm.gov 
    4747                #### use http2, and permit acme to just use 443
    4848                #### Protocols h2 http/1.1
     
    9494                ProxyPassReverse / https://dohr2simnmibis2/nmibis-view/
    9595        ########Uncomment next line and delete 2nd line below prior to going live
    96                 ####ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov
     96######          ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov
    9797                ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibisnew.health.state.nm.us
    9898                ProxyPassReverseCookiePath / /
     
    104104###### redirecting of old DNS name to new DNS name (nmtracking.doh.nm.gov) ######
    105105
    106         <VirtualHost 10.100.2.17:443>
    107                 ServerName nmtracking.org
    108                 #### use http2, and permit acme to just use 443
    109                 #### Protocols h2 http/1.1
    110                 Protocols h2 http/1.1 acme-tls/1
    111                
    112                 SSLEngine on
    113 
    114                 ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_error.log 86400"
    115                 CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_access.log 86400" combined
    116 
    117                 ######## This server is listening for nmtracking.org It should redirect to nmtracking.doh.nm.gov/Alert.html
    118 
    119                 RewriteEngine  on
    120                 RewriteCond "%{HTTP_HOST}" "=nmtracking.org"
    121                 RewriteRule  "environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"
    122                 RewriteRule  "/environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"
    123                
    124                 RewriteRule  ".*" "https://nmtracking.doh.nm.gov/Alert.html"
    125                
    126                 Redirect / https://nmtracking.doh.nm.gov/Alert.html
    127                
    128         </VirtualHost>
     106######### Uncomment when have DNS ENTRY ########
     107####    <VirtualHost 10.100.2.17:443>
     108####            ServerName nmtracking.org
     109####            #### use http2, and permit acme to just use 443
     110####            #### Protocols h2 http/1.1
     111####            Protocols h2 http/1.1 acme-tls/1
     112####           
     113####            SSLEngine on
     114####
     115####            ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_error.log 86400"
     116####            CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_access.log 86400" combined
     117####
     118####            ######## This server is listening for nmtracking.org It should redirect to nmtracking.doh.nm.gov/Alert.html
     119####
     120####            RewriteEngine  on
     121####            RewriteCond "%{HTTP_HOST}" "=nmtracking.org"
     122####            RewriteRule  "environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"
     123####            RewriteRule  "/environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"
     124####            RewriteRule  "/WildFireSmoke/" "https://nmtracking.doh.nm.gov/WildFireSmoke/"
     125####           
     126####            RewriteRule  ".*" "https://nmtracking.doh.nm.gov/Alert.html"
     127####           
     128####            Redirect / https://nmtracking.doh.nm.gov/Alert.html
     129####           
     130####    </VirtualHost>
    129131
    130132
     
    134136        <VirtualHost 10.100.2.17:443>
    135137                ServerName nmtracknew.nmtracking.org
    136                 ######### ServerName nmtracking.doh.nm.gov 
     138########                ServerName nmtracking.doh.nm.gov 
    137139                #### use http2, and permit acme to just use 443
    138140                ##### turn offf acme Protocols h2 http/1.1 acme-tls/1
     
    161163               
    162164                <Proxy *>
    163                         ####Require all granted
     165######                  Require all granted
    164166                        AuthType Basic
    165167                        AuthName "Staging, enter username and password for access"
     
    181183        ProxyPass /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke
    182184        ProxyPassReverse /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke
    183         ########Uncomment next line and delete 2nd line below prior to going live
    184                 ####ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracking.doh.nm.gov/
     185########Uncomment next line and delete 2nd line below prior to going live
     186#######         ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracking.doh.nm.gov/
    185187                ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracknew.nmtracking.org/
    186188                ProxyPassReverseCookiePath / /
     
    192194                ProxyPass / https://dohr2simnmibis2/nmepht-view/
    193195                ProxyPassReverse / https://dohr2simnmibis2/nmepht-view/
    194         ########Uncomment next line and delete 2nd line below prior to going live       
    195                 #####ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracking.doh.nm.gov/
     196########Uncomment next line and delete 2nd line below prior to going live       
     197#####           ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracking.doh.nm.gov/
    196198                ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracknew.nmtracking.org/
    197199                ProxyPassReverseCookiePath / /
Note: See TracChangeset for help on using the changeset viewer.