Hi all, today im trying to enable Memcached on my domain on my VPS using Plex Obsidian.
I can build the docker container with no problem and no issue happen there.
The website it's working correctly on it's domain ( networny.com) (Careful that the website it's NSFW)
Everything works absolutely fine, but when I activate the docker proxy rule to expose the memcached port 11211 on the domain, using the Plesk interface:
After I save it the webserver goes straight into error 502 for the domain. If I map the port to a subdirectory let's say /memcached no error 502 but I can't connect to Memcached at all.
What I am doing it wrong?
this is the log of the domain during the 502 error.
it's a generic 502 error on the SSL with no explanation at all.
I don't now if its correlated or not, but since a couple of days my Wordpress was pointing me that the website cannot do LoopBack Connection to itself for example when running a cron command. Can this be the same issue?
This is the syntax I've put into NGINX to forward the port, even if I do it manually without using the docker proxy setting the same 502 error happen when I connect to networny.com
I had to remove this now because the website need to be online, but I can't really figure it out what's wrong here.
Thanks
I can build the docker container with no problem and no issue happen there.
The website it's working correctly on it's domain ( networny.com) (Careful that the website it's NSFW)
Everything works absolutely fine, but when I activate the docker proxy rule to expose the memcached port 11211 on the domain, using the Plesk interface:
After I save it the webserver goes straight into error 502 for the domain. If I map the port to a subdirectory let's say /memcached no error 502 but I can't connect to Memcached at all.
What I am doing it wrong?
this is the log of the domain during the 502 error.
Code:
2020-04-29 14:38:33 Error 188.172.148.154 502 GET / HTTP/2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15 150 nginx SSL/TLS access
2020-04-29 14:38:33 Error 188.172.148.154 502 GET / HTTP/2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15 150 nginx SSL/TLS access
it's a generic 502 error on the SSL with no explanation at all.
I don't now if its correlated or not, but since a couple of days my Wordpress was pointing me that the website cannot do LoopBack Connection to itself for example when running a cron command. Can this be the same issue?
This is the syntax I've put into NGINX to forward the port, even if I do it manually without using the docker proxy setting the same 502 error happen when I connect to networny.com
NGINX:
#extension docker begin
location ~ ^/.* {
proxy_pass http://0.0.0.0:11212;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
#extension docker end
I had to remove this now because the website need to be online, but I can't really figure it out what's wrong here.
Thanks
Last edited: