Skip to content

Commit cdb48eb

Browse files
authored
Merge pull request #111 from CESNET/certs
Forward cert variables to AJP on api-cert domain
2 parents a7a0b00 + 689ee03 commit cdb48eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/sites-enabled/perun-api-cert.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
ProxySet secret={{ perun_rpc_ajp_secret }}
9595
</Proxy>
9696

97-
RewriteRule ^/(.*)/rpc/(.*)$ ajp://{{ perun_rpc_container.container.Config.Hostname }}:8009/perun-rpc/$2 [P,QSA]
97+
RewriteRule ^/(.*)/rpc/(.*)$ ajp://{{ perun_rpc_container.container.Config.Hostname }}:8009/perun-rpc/$2 [P,QSA,E=AJP_SSL_CLIENT_VERIFY:%{SSL:SSL_CLIENT_VERIFY},E=AJP_SSL_CLIENT_I_DN:%{SSL:SSL_CLIENT_I_DN},E=AJP_SSL_CLIENT_S_DN:%{SSL:SSL_CLIENT_S_DN},E=AJP_SSL_CLIENT_CERT:%{SSL:SSL_CLIENT_CERT}]
9898

9999
####################################
100100
## AuthN Methods ####

0 commit comments

Comments
 (0)