Two-factor Apache2: Difference between revisions
Jump to navigation
Jump to search
Created page with "reverse proxy config: <VirtualHost *:443> ServerAlias test.frotmail.nl ServerAdmin webmaster@frotmail.nl ProxyRequests off ProxyPass /test/ http://1.2.3.4:8080/test/ ProxyPassReverse /test/ http://1.2.3.4:8080/test/ ServerName test.frotmail.nl SSLEngine on SSLCertificateFile /etc/apache2/ssl/server.pem SSLCertificateKeyFile /etc/apache2/ssl/server.key AddRadiusAuth 1.2.3.4:1812 sharedsecre..." |
(No difference)
|
Latest revision as of 09:45, 5 April 2022
reverse proxy config:
<VirtualHost *:443>
ServerAlias test.frotmail.nl
ServerAdmin webmaster@frotmail.nl
ProxyRequests off
ProxyPass /test/ http://1.2.3.4:8080/test/
ProxyPassReverse /test/ http://1.2.3.4:8080/test/
ServerName test.frotmail.nl
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server.pem
SSLCertificateKeyFile /etc/apache2/ssl/server.key
AddRadiusAuth 1.2.3.4:1812 sharedsecret 9:1
AddRadiusCookieValid 60
<Location /test>
AuthType Basic
AuthName "Google Authenticator"
AuthBasicAuthoritative off
AuthBasicProvider radius
AuthRadiusAuthoritative on
AuthRadiusCookieValid 60
AuthRadiusActive On
require valid-user
</Location>
</VirtualHost>
Voor de rest van de radius config zie ook Two-factor auth met Google Authenticator