aboutsummaryrefslogtreecommitdiff
path: root/taler-merchant/root/etc/httpd/sites-available/taler-merchant.conf.new
blob: 5d0050a767e07ce808bbff7d1b3efaafb8355144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Make sure to enable the following Apache modules before
# integrating this into your configuration:
#
# a2enmod proxy
# a2enmod proxy_http
# a2enmod headers
#
# NOTE:
# - consider to adjust the location
# - consider putting all this into a VirtualHost
# - strongly consider setting up TLS support
#
# For all of the above, please read the respective
# Apache documentation.
#
<Location "/">
  ProxyPass "unix:/var/run/taler/merchant-httpd/merchant-http.sock|http://example.com/"

  # NOTE:
  # - Uncomment this line if you use TLS/HTTPS
  RequestHeader add "X-Forwarded-Proto" "https"
</Location>