I am trying to install a certificate for my server but running Certbot --Nginx gives me the following error
Error while running nginx -c /etc/nginx/nginx.conf -t. nginx: [emerg] open() "/etc/nginx/mime.types" failed (2: No such file or directory) in /etc/nginx/nginx.conf:94 nginx: configuration file /etc/nginx/nginx.conf test failed
While my Nginx.config file is here:
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
I've been looking for a way to change where Centbot is looking for the config file but sadly to no avail.
Thank you for your time.