Opened 6 years ago
Closed 6 years ago
#57671 closed enhancement (fixed)
certbot-nginx should know default MacPorts nginx.conf location
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | certbot-nginx |
Description
$ sudo certbot certonly --nginx -d somedomain Saving debug log to /var/log/letsencrypt/letsencrypt.log Error while running nginx -c /usr/local/etc/nginx/nginx.conf -t. nginx: [emerg] open() "/usr/local/etc/nginx/nginx.conf" failed (2: No such file or directory) nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration. The error was: MisconfigurationError('Error while running nginx -c /usr/local/etc/nginx/nginx.conf -t.\n\nnginx: [emerg] open() "/usr/local/etc/nginx/nginx.conf" failed (2: No such file or directory)\nnginx: configuration file /usr/local/etc/nginx/nginx.conf test failed\n',) The nginx plugin is not working; there may be problems with your existing configuration. The error was: MisconfigurationError('Error while running nginx -c /usr/local/etc/nginx/nginx.conf -t.\n\nnginx: [emerg] open() "/usr/local/etc/nginx/nginx.conf" failed (2: No such file or directory)\nnginx: configuration file /usr/local/etc/nginx/nginx.conf test failed\n',)
I can work around this by specifying --nginx-server-root /opt/local/etc/nginx
however it seems like the MacPorts copy of certbot-nginx should use that as its default value.
Change History (1)
comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 11089c8d9b8fb37c700914418677a9c0db194147/macports-ports (master):