Skip to content
omgslinux edited this page Mar 6, 2025 · 1 revision

The proxy template is typical for a frontend that acts as a reverse proxy.

It has a conf file, but it is not intended for modification, and it's mostly for setting client certificate and fastcgi standard variables.

The variables in the example file:

# Parameter for proxy_pass in / location. ONLY IN FRONTEND
PROXY_PASS="http://192.168.55.105:8080"

# Location of .well-known directory for certbot. Setting it will create a specific location entry
#WELLKNOWN_DIR="/var/www/html"
  • The PROXY_PASS variable is the url for the server acting as backend
  • The WELLKNOWN_DIR variable, if defined, as long as the frontend is where ssl certificates are managed, is where you define the directory for certbot. You can use a "centralized" directory, in whose case it's better to define this variable in defaults.inc file. After generating the vhost file, take a look at the message about what to check.
Clone this wiki locally