Configure Nginx settings

Faspex 5 uses Nginx as a reverse proxy to route traffic to the appropriate container. You can customize Nginx configuration files and update your SSL certificate and key using the files at /opt/aspera/faspex/conf/nginx/conf.

Nginx configuration files

To customize Nginx configuration, update the files in /opt/aspera/faspex/conf/nginx/conf/custom.

To update your SSL certificate and key, or to replace the self-signed default certificate, replace cert.pem, dhparam.pem, and key.pem, found at /opt/aspera/faspex/conf/nginx/conf.

After editing or udpating any of these files, restart the Faspex router service by running:
faspexctl restart router

The file nginx.conf.copy contains the settings currently running. This file updates each time you restart the router using the command above.

The files in the directory /opt/aspera/faspex/conf/nginx/conf/custom/orig function as a backup of all the/opt/aspera/faspex/conf/nginx/conf/custom/conf files prior to restarting the router. You can use the contents of the /orig directory for reference and restoration as required.

Tip: Run faspexctl version to check the version of Nginx running in the faspex-router container.