Changeset 25079 in main


Ignore:
Timestamp:
04/19/22 09:42:10 (5 weeks ago)
Author:
Paul Leo
Message:

Committing Proxy configuration files prior to setting up a test Apache httpd to help debug issues with SSL certs on proxy, and interaction with WordPress? and Tomcat on the prod server

Location:
adopters/hi/trunk/src/main/apache_httpd_configs/proxy_external
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • adopters/hi/trunk/src/main/apache_httpd_configs/proxy_external/extra/httpd-mpm.conf

    r24901 r25079  
    105105<IfModule mpm_winnt_module>
    106106#   ThreadsPerChild        150
    107     ThreadsPerChild        1024
     107    ThreadsPerChild        450
    108108    MaxConnectionsPerChild   8192
    109109</IfModule>
  • adopters/hi/trunk/src/main/apache_httpd_configs/proxy_external/extra/httpd-vhosts.conf

    r24901 r25079  
    3131###
    3232
    33 ############### PORT 80 VirtualHost http://test.hhdw.org #####
     33############### PORT 80 VirtualHost http://hhdw.org #####
    3434<VirtualHost 10.0.0.231:80>
    35         ServerName test.hhdw.org
     35        ServerName hhdw.org
    3636        ####Protocols h2 http/1.1
    3737        Protocols http/1.1
     
    4545                        ProxyRequests off
    4646                       
    47                         ##### Password Protect test.hhdw.org (in this case staging.ibis.dataphilesconsulting.com)
    48                         ##### Password is HHdwtest202241
     47                        ##### Password Protect hhdw.org (in this case staging.ibis.dataphilesconsulting.com)
     48                        ##### Password is HHDWtest2022
    4949                       
    5050                        <Proxy *>
    51                                 #######Require all granted
    52                                 AuthType Basic
    53                                 AuthName "Test, enter username and password for access"
    54                                 AuthBasicProvider file
    55                                 AuthUserFile "C:\Apache-2.4.53\conf\testhhdw.txt"
    56                                 Require user hhdw
     51                                Require all granted
     52                                ####AuthType Basic
     53                                ####AuthName "Test, enter username and password for access"
     54                                ####AuthBasicProvider file
     55                                ####AuthUserFile "C:\Apache-2.4.53\conf\testhhdw.txt"
     56                                ####Require user hhdw
     57                                #####Require not ip 20.122.59.58
    5758                        </Proxy>
    5859                       
     
    6465                        ProxyPass "/.svn" "!"
    6566                        ProxyPass "/nmibis-admin" "!"
     67                        ProxyPass "/xmlrpc.php" "!"
     68                        ProxyPass "/wp-cron.php" "!"
     69                        ###ProxyPass "/wp-login.php" "!"
    6670
    6771                ####
     
    7983        </VirtualHost>
    8084       
    81         ############### VirtualHost https://test.hhdw.org #####
     85        ############### VirtualHost https://hhdw.org #####
    8286
    8387<VirtualHost 10.0.0.231:443>
    84         ServerName test.hhdw.org
     88        ServerName hhdw.org
    8589         #### use http2, and permit acme to just use 443
    8690        Protocols h2 http/1.1 acme-tls/1
     
    9195        SSLEngine on
    9296
    93           SSLProxyEngine on
    94           SSLProxyVerify none
     97          ####SSLProxyEngine on
     98          ###SSLProxyVerify none
    9599          ##SSLProxyCheckPeerCN off
    96100          ##SSLProxyCheckPeerExpire off
     
    103107                        ProxyRequests off
    104108                       
    105                         ##### Password Protect test.hhdw.org (in this case staging.ibis.dataphilesconsulting.com)
     109                        ##### Password Protect hhdw.org (in this case staging.ibis.dataphilesconsulting.com)
    106110                        ##### Password is HHDWtest2022
    107111                       
    108112                        <Proxy *>
    109                                 #######Require all granted
    110                                 AuthType Basic
    111                                 AuthName "Test, enter username and password for access"
    112                                 AuthBasicProvider file
    113                                 AuthUserFile "C:\Apache-2.4.53\conf\testhhdw.txt"
    114                                 Require user hhdw
     113                                Require all granted
     114                                ###AuthType Basic
     115                                ###AuthName "Test, enter username and password for access"
     116                                ###AuthBasicProvider file
     117                                ###AuthUserFile "C:\Apache-2.4.53\conf\testhhdw.txt"
     118                                ###Require user hhdw
    115119                        </Proxy>
    116120                       
     
    122126                        ProxyPass "/.svn" "!"
    123127                        ProxyPass "/nmibis-admin" "!"
     128                        ProxyPass "/xmlrpc.php" "!"
     129                        ProxyPass "/wp-cron.php" "!"
     130                        ###ProxyPass "/wp-login.php" "!"
    124131
    125132                ####
  • adopters/hi/trunk/src/main/apache_httpd_configs/proxy_external/httpd.conf

    r24901 r25079  
    230230#ServerName www.example.com:80
    231231#### Next Line may need to be changed, or maybe deleted ###
    232 ######ServerName test.hhdw.org
     232######ServerName hhdw.org
    233233#
    234234# Deny access to the entirety of your server's filesystem. You must
     
    328328###### Turning LogLevel Up to debug MOD_MD ########
    329329######LogLevel info md:trace2 ssl:trace2 proxy:trace2
    330 ############LogLevel debug md:trace2 ssl:trace2 proxy:trace5
    331330############LogLevel debug md:trace5 ssl:trace5 proxy:trace5
    332331####LogLevel warn proxy:trace5
     
    662661##### GLOBAL SETTINGS, I think they will work here, if not move into individual Virtual Hosts ####
    663662
    664 #### Let's Encrypt testing/staging  URL
     663#### Let's Encrypt TESTING/STAGING  URL   #######
    665664#### the MDCertificateAuthority line sets the URL to Production OR  testing/staging URL ####
    666665#### MDCertificateAuthority https://acme-staging-v02.api.letsencrypt.org/directory
    667666
    668 ####
    669 #### Let's Encrypt PRODUCTION URL
    670 MDCertificateAuthority https://acme-v02.api.letsencrypt.org/directory
     667######
     668###### Let's Encrypt PRODUCTION URL ########
     669MDCertificateAuthority  https://acme-v02.api.letsencrypt.org/directory
    671670
    672671MDCertificateAgreement accepted
     
    685684MDPrivateKeys RSA 4096
    686685
    687 <MDomain test.hhdw.org>
     686<MDomain hhdw.org>
    688687        #### MDRenewWindow Default - renewal 36 days before it expires
    689688        MDRenewWindow 36d
Note: See TracChangeset for help on using the changeset viewer.