Changeset 25238 in main
- Timestamp:
- 05/14/22 12:40:58 (7 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
r25237 r25238 17 17 ###### VirtualHost ibis.health.state.nm.us ####### 18 18 ###### 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.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.html32 RewriteEngine on33 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.html37 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> 39 39 40 40 ###### VirtualHost ibis.doh.nm.gov ###### … … 44 44 <VirtualHost 10.100.2.15:443> 45 45 ServerName ibisnew.health.state.nm.us 46 ########ServerName ibis.doh.nm.gov46 ###### ServerName ibis.doh.nm.gov 47 47 #### use http2, and permit acme to just use 443 48 48 #### Protocols h2 http/1.1 … … 94 94 ProxyPassReverse / https://dohr2simnmibis2/nmibis-view/ 95 95 ########Uncomment next line and delete 2nd line below prior to going live 96 ####ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov96 ###### ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibis.doh.nm.gov 97 97 ProxyPassReverseCookieDomain dohr2simnmibis2/nmibis-view/ ibisnew.health.state.nm.us 98 98 ProxyPassReverseCookiePath / / … … 104 104 ###### redirecting of old DNS name to new DNS name (nmtracking.doh.nm.gov) ###### 105 105 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> 129 131 130 132 … … 134 136 <VirtualHost 10.100.2.17:443> 135 137 ServerName nmtracknew.nmtracking.org 136 #########ServerName nmtracking.doh.nm.gov138 ######## ServerName nmtracking.doh.nm.gov 137 139 #### use http2, and permit acme to just use 443 138 140 ##### turn offf acme Protocols h2 http/1.1 acme-tls/1 … … 161 163 162 164 <Proxy *> 163 ####Require all granted165 ###### Require all granted 164 166 AuthType Basic 165 167 AuthName "Staging, enter username and password for access" … … 181 183 ProxyPass /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke 182 184 ProxyPassReverse /WildFireSmoke https://dohr2simnmibis2/WildFireSmoke 183 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/ 185 187 ProxyPassReverseCookieDomain dohr2simnmibis2/WildFireSmoke/ nmtracknew.nmtracking.org/ 186 188 ProxyPassReverseCookiePath / / … … 192 194 ProxyPass / https://dohr2simnmibis2/nmepht-view/ 193 195 ProxyPassReverse / https://dohr2simnmibis2/nmepht-view/ 194 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/ 196 198 ProxyPassReverseCookieDomain dohr2simnmibis2/nmepht-view/ nmtracknew.nmtracking.org/ 197 199 ProxyPassReverseCookiePath / / -
adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis001/apache_httpd_reverse_proxy/httpd.conf
r25237 r25238 698 698 MDRenewWindow 36d 699 699 </MDomain> 700 701 <MDomain ibis.health.state.nm.us>702 MDRenewWindow 36d703 </MDomain>700 #### Uncomment when we have DNS entry 701 ####<MDomain ibis.health.state.nm.us> 702 #### MDRenewWindow 36d 703 ####</MDomain> 704 704 705 705 <MDomain nmtracking.doh.nm.gov> 706 706 MDRenewWindow 36d 707 707 </MDomain> 708 709 <MDomain nmtracking.org>710 MDRenewWindow 36d711 </MDomain>708 #### Uncomment when we have DNS entry 709 ####<MDomain nmtracking.org> 710 #### MDRenewWindow 36d 711 ####</MDomain> 712 712 713 713
Note: See TracChangeset
for help on using the changeset viewer.