Changeset 25319 in main
- Timestamp:
- 06/05/22 08:29:22 (3 weeks ago)
- Location:
- adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis001/apache_httpd_reverse_proxy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis001/apache_httpd_reverse_proxy/extra/httpd-vhosts.conf
r25246 r25319 17 17 ###### VirtualHost ibis.health.state.nm.us ####### 18 18 ###### redirecting of old DNS name to new DNS name (ibis.doh.nm.gov) ###### 19 ##### Uncomment when have DNS ENTRY 20 ##### <VirtualHost 10.100.2.16:443>21 #####ServerName ibis.health.state.nm.us22 ######### use http2, and permit acme to just use 44323 ######### Protocols h2 http/1.124 #####Protocols h2 http/1.1 acme-tls/125 #####26 #####SSLEngine on27 ##### 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" combined30 ##### 31 ##### ######## This server is listening for ibis.health.state.nm.us It should redirect to ibis.doh.nm.gov/Alert.html 32 #####RedirectMatch ".*" https://ibis.doh.nm.gov/Alert.html33 #####Redirect / https://ibis.doh.nm.gov/Alert.html34 #####35 #####</VirtualHost>19 20 <VirtualHost 10.100.2.15: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 32 RedirectMatch ".*" https://ibis.doh.nm.gov/Alert.html 33 Redirect / https://ibis.doh.nm.gov/Alert.html 34 35 </VirtualHost> 36 36 37 37 ###### VirtualHost ibis.doh.nm.gov ###### 38 38 39 ########### CHANGE ServerName BELOW #######40 41 39 <VirtualHost 10.100.2.15:443> 42 ServerName ibisnew.health.state.nm.us 43 ###### ServerName ibis.doh.nm.gov 40 ServerName ibis.doh.nm.gov 44 41 #### use http2, and permit acme to just use 443 45 42 #### Protocols h2 http/1.1 … … 87 84 88 85 #### Next line will eath the /nmibis-view I think, it fixes ibis.doh.nm.gov/nmibis-view/nmibis-view/Login.html error 86 ProxyPass /ibisph-docs/ https://dohr2simnmibis2/ibisph-docs/ 87 ProxyPassReverse /ibisph-docs/ https://dohr2simnmibis2/ibisph-docs/ 89 88 ProxyPass /nmibis-view/ https://dohr2simnmibis2/nmibis-view/ 90 89 ProxyPass / https://dohr2simnmibis2/nmibis-view/ 91 ProxyPassReverse / https://dohr2simnmibis2/nmibis-view/ 92 ########Uncomment next line and delete 2nd line below prior to going live 93 ###### ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov 94 ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibisnew.health.state.nm.us 90 ProxyPassReverse / https://dohr2simnmibis2/nmibis-view/ 91 ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov 95 92 ProxyPassReverseCookiePath / / 96 93 … … 101 98 ###### redirecting of old DNS name to new DNS name (nmtracking.doh.nm.gov) ###### 102 99 103 ######### Uncomment when have DNS ENTRY ######## 104 #### <VirtualHost 10.100.2.17:443> 105 #### ServerName nmtracking.org 106 #### #### use http2, and permit acme to just use 443 107 #### #### Protocols h2 http/1.1108 #### Protocols h2 http/1.1 acme-tls/1 109 #### 110 #### SSLEngine on 111 #### 112 #### ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_error.log 86400" 113 #### CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_access.log 86400" combined 114 #### 115 #### ######## This server is listening for nmtracking.org It should redirect to nmtracking.doh.nm.gov/Alert.html 116 #### RedirectMatch "/WildFireSmoke/" "https://nmtracking.doh.nm.gov/WildFireSmoke/"117 ####RedirectMatch "environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"118 ####RedirectMatch "/environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html"119 ####RedirectMatch ".*" https://nmtracking.doh.nm.gov/Alert.html120 ####Redirect / https://nmtracking.doh.nm.gov/Alert.html121 ####122 ####</VirtualHost>100 <VirtualHost 10.100.2.17:443> 101 ServerName nmtracking.org 102 #### use http2, and permit acme to just use 443 103 #### Protocols h2 http/1.1 104 Protocols h2 http/1.1 acme-tls/1 105 106 SSLEngine on 107 108 ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_error.log 86400" 109 CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/old_nmtracking_access.log 86400" combined 110 111 ######## This server is listening for nmtracking.org It should redirect to nmtracking.doh.nm.gov/Alert.html 112 RedirectMatch "/WildFireSmoke/" "https://nmtracking.doh.nm.gov/WildFireSmoke/" 113 RedirectMatch "/WildFireSmoke" "https://nmtracking.doh.nm.gov/WildFireSmoke/" 114 RedirectMatch "environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html" 115 RedirectMatch "/environment/air/FireAndSmoke.html" "https://nmtracking.doh.nm.gov/environment/air/FireAndSmoke.html" 116 RedirectMatch ".*" https://nmtracking.doh.nm.gov/Alert.html 117 Redirect / https://nmtracking.doh.nm.gov/Alert.html 118 119 </VirtualHost> 123 120 124 121 125 ############### VirtualHost nmtracknew.nmtracking.org ##### 126 ####### CHANGE ServerName BELOW ####### 122 ############### VirtualHost nmtracking.doh.nm.gov ##### 127 123 128 124 <VirtualHost 10.100.2.17:443> 129 ServerName nmtracknew.nmtracking.org 130 ######## ServerName nmtracking.doh.nm.gov 125 ServerName nmtracking.doh.nm.gov 131 126 #### use http2, and permit acme to just use 443 132 127 ##### turn offf acme Protocols h2 http/1.1 acme-tls/1 … … 152 147 ProxyTimeout 300 153 148 154 ###########Remove any Auth*, etc and uncomment Require ##### Password Protect NMEPHT (in this case staging.ibis.dataphilesconsulting.com)155 156 149 <Proxy *> 157 ###### Require all granted 158 AuthType Basic 159 AuthName "Staging, enter username and password for access" 160 AuthBasicProvider file 161 AuthUserFile "C:\Apache-2.4.53\conf\nmtrackuser.txt" 162 Require user nmtracking 150 Require all granted 151 ###### Remove all down to and including last Require after live for awhil 152 #AuthType Basic 153 #AuthName "Staging, enter username and password for access" 154 #AuthBasicProvider file 155 #AuthUserFile "C:\Apache-2.4.53\conf\nmtrackuser.txt" 156 #Require user nmtracking 163 157 </Proxy> 164 158 … … 175 169 ProxyPass /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke 176 170 ProxyPassReverse /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke 177 ########Uncomment next line and delete 2nd line below prior to going live 178 ####### ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracking.doh.nm.gov/ 179 ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracknew.nmtracking.org/ 171 ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracking.doh.nm.gov/ 172 #ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracknew.nmtracking.org/ 180 173 ProxyPassReverseCookiePath / / 181 174 … … 186 179 ProxyPass / https://dohr2simnmibis2/nmepht-view/ 187 180 ProxyPassReverse / https://dohr2simnmibis2/nmepht-view/ 188 ########Uncomment next line and delete 2nd line below prior to going live 189 ##### ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracking.doh.nm.gov/ 190 ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracknew.nmtracking.org/ 181 ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracking.doh.nm.gov/ 191 182 ProxyPassReverseCookiePath / / 192 183 -
adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis001/apache_httpd_reverse_proxy/httpd.conf
r25246 r25319 332 332 ####LogLevel warn proxy:trace5 333 333 #####LogLevel warn proxy:debug 334 #### #LogLevelssl:trace5 proxy:trace5334 ####LogLevel debug ssl:trace5 proxy:trace5 335 335 LogLevel warn 336 336 … … 694 694 695 695 <MDomain ibis.doh.nm.gov> 696 #### MDRenewWindow Default - renew sl 36 days before it expires696 #### MDRenewWindow Default - renewal 36 days before it expires 697 697 MDRenewWindow 36d 698 698 </MDomain> 699 #### Uncomment when we have DNS entry 700 ####<MDomain ibis.health.state.nm.us>701 ####MDRenewWindow 36d702 ####</MDomain>699 700 <MDomain ibis.health.state.nm.us> 701 MDRenewWindow 36d 702 </MDomain> 703 703 704 704 <MDomain nmtracking.doh.nm.gov> 705 705 MDRenewWindow 36d 706 706 </MDomain> 707 #### Uncomment when we have DNS entry 708 ####<MDomain nmtracking.org> 709 #### MDRenewWindow 36d 710 ####</MDomain> 711 712 713 714 ######## Will want to remove these before we go live ####### 715 716 <MDomain ibisnew.health.state.nm.us> 717 #### MDRenewWindow Default - renewsl 36 days before it expires 707 <MDomain nmtracking.org> 718 708 MDRenewWindow 36d 719 709 </MDomain> 720 721 <MDomain nmtracknew.nmtracking.org>722 MDRenewWindow 36d723 </MDomain>
Note: See TracChangeset
for help on using the changeset viewer.