Comments (5)
As a workaround, I removed the docker proxy rule and added the following extra nginx rule:
location ~ ^/(?!(.well-known)) {
proxy_pass http://0.0.0.0:<YOUR_DOCKER_PORT>;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Note: the content is the same as the docker proxy rule generates. the location just excludes .well-known
at the beginning of a path.
It works for me as of now (lets encrypt plugin version 2.6.1).
from letsencrypt-plesk.
A temporary workaround if anyone has the problem, while plesk figures this out, would be to configure the proxy docker to access the image from a subdirectory of the domain, and add a php redirect while accessing the root.
That means:
https://rocketchat.domain.com/chat/ -> rocketchat docker image
https://rocket.chat.domain.com/ -> javascript redirect to https://rocketchat.domain.com/chat/
from letsencrypt-plesk.
It would be great if this would be implemented!
EDIT: With the latest update it is not working anymore...
As a workaround it works for me if I add the following rule as special nginx rule inside the domain settings
(Replace WEBROOT with the webroot of you domain)
location ^~ /.well-known/acme-challenge/ {
alias /var/www/vhosts/WEBROOT/.well-known/acme-challenge/;
}
from letsencrypt-plesk.
The latest update of the lets encrypt module was intended to fix that issue I think but there is a mistake in there.
The location must be defined as follows for a correct functionallity:
Wrong:
#extension letsencrypt begin
location /.well-known/acme-challenge/ {
...
Right:
#extension letsencrypt begin
location ^~ /.well-known/acme-challenge/
...
from letsencrypt-plesk.
Hello
This may help someone out there. I tried everything shown above and on other plesk forum with no success, what worked for me was to:
Remove the docker proxy (from the domain dashboard)
issue the certificate (with no docker domain linked)
then add the docker proxy
After a successful certificate issuance and docker proxy linked, I also tried to renew certificate which also work.
If setting up a new docker domain/subdomain, I believe issuing the certificate first before linking the docker proxy domain is the way to go.
Best,
Benay.
from letsencrypt-plesk.
Related Issues (20)
- Feature Request: Wildcard subdomain support HOT 16
- If mailservice for a domain is switched of plesk is still trying to get a Let's Encrypt Cert for webmail.example.com HOT 2
- Let's encrypt renewal problem sends mail to address of customer HOT 1
- Plesk should use DNS Validation prior to attempting to issue certs
- Error: Could not access the following file or directory HOT 3
- Patch: Allow challenge for protected webroot
- [Issue] Renewal restores .skel into existing domain HOT 1
- Cant renew: too many currently pending authorization HOT 1
- Can't uninstall Wildcard Certificate
- Error on automatic renewal: Unable to unmarshal NewOrder request body
- Cannot issue Let'sEncrypt certificate for subdomain
- Feature: certificates for forwarding domains HOT 1
- Extension reissues certificates after switching to manually uploaded certificate HOT 2
- webmail.domain.tld problem HOT 1
- Renew certificates creates additional certificates and results in rate limit
- certificate extension no longer working since letsencrypt-plesk-2.8.1 release
- Let's Encrypt Windows Plesk Extension having trouble accessing .well-known folder HOT 1
- handling rate limits to get past the 100 domains per csr letsencrypt limit
- Secure Alias if Main Domain not Pointig to Plesk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from letsencrypt-plesk.