Opened 9 months ago

Closed 8 months ago

#89 closed Problem (Works For Me)

Route .well-known through nginx on git server

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Important Milestone: Make Shit Happen / Own Your Shit.
Component: Documentation Keywords: letsencrypt
Cc: Joe Dumoulin

Description (last modified by D Delmar Davis)

Since gitea broke that link we should let the proxy do it. Should also figure out how to make this automatable as manually doing this every 3 months sucks.

Change History (2)

comment:2 Changed 8 months ago by D Delmar Davis

Description: modified (diff)
Resolution: Works For Me
Status: assignedclosed

Realized that I was proxying this through apache. Added .well-known to /var/www/html and filtered the proxy.

<VirtualHost *:443>
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    SSLProxyEngine on
    SSLProxyVerify none 
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

    ProxyPassReverseCookieDomain localhost

    SSLCertificateFile   /etc/letsencrypt/live/
    SSLCertificateKeyFile   /etc/letsencrypt/live/

    <Proxy *>
	 Order allow,deny
	 Allow from all
    ProxyPass /.well-known !
    ProxyPass /
    ProxyPassReverse /
Note: See TracTickets for help on using tickets.