The settings are stored in /etc/letsencrypt/renewal/*.conf
. You can review or change them using any text editor. The relevant setting for staging vs. production would be the server
line, for which the production value is:
server = https://acme-v01.api.letsencrypt.org/directory