slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

taler-merchant.conf.new (599B)


      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 "/">
     17   ProxyPass "unix:/var/run/taler/merchant-httpd/merchant-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>