mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #1519] It's can't use letsencrypt if web server change port. #1195
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akong77 on GitHub (Jul 9, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1519
Impacted versions
Steps to reproduce
I change installer.cfg to letsencrypt.I also change modoboa.conf.tpl with 80 port to 82 port and 443 port to 8443 port.Then I run "./run.py mydomain".It's can run to finish.But nginx can't start.If I change installer.cfg to self-signed and use 82 port and 8443 port.The nginx will running.Could letsencrypt not support change web server port?
Current behavior
Expected behavior
Video/Screenshot link (optional)
@tonioo commented on GitHub (Jul 9, 2018):
The LE script is running using the standalone mode, ie. it does not use nginx so it should work, unless the 80/443 ports are already used. Can you provide the output of the installer using the --debug option?
@akong77 commented on GitHub (Jul 10, 2018):
I know what's problem.Because letsencrypt need upload file to web server.And letsencrypt only upload to 80 port web server.So it's will direct auth http://mail.domain.tld/.well-known/acme-challenge/random_code. But the path it's not my modoboa server.This is my another web server.How to fix it?
@tonioo commented on GitHub (Jul 10, 2018):
That's not a modoboa issue. I suggest you add a redirect rule to the web server running on port 80 so requests sent to http://mail.domain.tld/.well-known/acme-challenge/random_code are redirected to the right server.