#LoadModule auth_pubtkt_module libexec/apache/mod_auth_pubtkt.so #RUN echo "LoadModule auth_pubtkt_module /usr/lib/apache2/modules/mod_auth_pubtkt.so">>/etc/apache2/mods-enabled/auth_pubtkt.load ServerName git.swarmlab.io SSLEngine On SSLCertificateFile /opt/ssl/cert.pem SSLCertificateKeyFile /opt/ssl/key.private.pem SSLCertificateChainFile /opt/ssl/fullchain.pem LogLevel rewrite:trace3 ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLProxyEngine on Order allow,deny Allow from all ProxyRequests Off ProxyPreserveHost On AllowEncodedSlashes NoDecode ProxyPass / https://git.swarmlab.io:3001/ nocanon ProxyPassReverse / https://git.swarmlab.io:3001/ SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off #RequestHeader set X-WEBAUTH-USER %{REMOTE_USER}e #RequestHeader set X-WEBAUTH-EMAIL %{REMOTE_EMAIL}e # ProxyPass https://git.swarmlab.io:3001/ ProxyPassReverse https://git.swarmlab.io:3001/ #RequestHeader set X-WEBAUTH-USER %{REMOTE_USER}s #RewriteEngine On #RewriteRule .* - [E=PROXY_USER:%{LA-U:REMOTE_USER},NS] #RequestHeader set X-WEBAUTH-USER "%{REMOTE_USER}e" #RequestHeader set X-REMOTE-USER %{REMOTE_USER}s