taler-magnet-bank.conf (623B)
1 # Make sure to enable the following Apache modules before 2 # integrating this into your configuration: 3 # 4 # a2enmod proxy 5 # a2enmod proxy_http 6 # a2enmod headers 7 # 8 # NOTE: 9 # - consider to adjust the location 10 # - consider putting all this into a VirtualHost 11 # - strongly consider setting up TLS support 12 # 13 # For all of the above, please read the respective 14 # Apache documentation. 15 # 16 <Location "/taler-magnet-bank/"> 17 ProxyPass "unix:/var/run/taler-magnet-bank/httpd/magnet-bank-http.sock|http://example.com/" 18 19 # NOTE: 20 # - Uncomment this line if you use TLS/HTTPS 21 RequestHeader add "X-Forwarded-Proto" "https" 22 </Location>