Add highlight for fences

master
William Desportes 2024-08-19 13:56:23 +00:00
parent 74150521a9
commit feb56af0d0
1 changed files with 3 additions and 3 deletions

@ -17,7 +17,7 @@ Configure your webserver to respond statelessly to challenges for a given accoun
1. Configure the web server to return the account key thumbprint: 1. Configure the web server to return the account key thumbprint:
### NGINX ### NGINX
Add something similar to your `nginx.conf`: Add something similar to your `nginx.conf`:
``` ```nginx
http { http {
... ...
server { server {
@ -41,7 +41,7 @@ Configure your webserver to respond statelessly to challenges for a given accoun
``` ```
### APACHE ### APACHE
Add something similar to your `httpd.conf`: Add something similar to your `httpd.conf`:
``` ```apache
LoadModule php7_module libexec/apache2/libphp7.so LoadModule php7_module libexec/apache2/libphp7.so
... ...
<VirtualHost *:80> <VirtualHost *:80>
@ -73,7 +73,7 @@ Configure your webserver to respond statelessly to challenges for a given accoun
_NOTE that this approach uses PHP but something similar could be done with CGI, Perl, Ruby or pretty much any other server-side language._ _NOTE that this approach uses PHP but something similar could be done with CGI, Perl, Ruby or pretty much any other server-side language._
### HAPROXY ### HAPROXY
Add the http-request return rule to your configuration: Add the http-request return rule to your configuration:
``` ```haproxy
global global
setenv ACCOUNT_THUMBPRINT '6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd' setenv ACCOUNT_THUMBPRINT '6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd'
log stderr local0 log stderr local0