Letsencrypt autorenew proxy site

Discussion in 'General' started by SamTzu, Oct 28, 2020.

  1. SamTzu

    SamTzu Active Member

    I'm having problems autorenewing site that has these additional Apache settings. Any tips how to make those 2 lines on the bottom to work automatically?

    Code:
    RewriteEngine on
    RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge [NC]
    RewriteRule .* - [L]
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /otherservice !
    ### Problems automatically updating LetsEncrypt SSL certificate!
    ProxyPass / http://127.0.0.1:8069/
    ProxyPassReverse / http://127.0.0.1:8069/
    ###  Unless these two lines are commented out!
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Do you have a global /.well-known/acme-challenge alias? eg. 'grep acme-challenge /etc/apache2/*-enabled/*'
     
  3. SamTzu

    SamTzu Active Member

    Not sure how to create one.
     

Share This Page