Answer the question
In order to leave comments, you need to log in
Issue with setting upstream and VIRTUAL_HOST for jwilder/nginx-proxy. I get 500 and 503 errors. Why can't it be reached?
Hello!
Can't set up nginx config without creating "proxy by proxy".
What it's about:
raised JWILDER / nginx-proxy as a host for dynamic hosts and addressing with https.
here is jwilder + letsenctipt implementation: https://pastebin.com/MGyDnGDF
run with "docker-compose up -d --build" and enjoy.
Next, we launch our applications and get access to them directly with TLS, without connecting certificates.
On the example of running WORDPRESS:
https://pastebin.com/u/daredevil001/1/dCGgRt6k
--- there docker-compose + Dockerfile + a couple of configuration files and nginx
But what's the pain:
when I start WP - I get "welcome at 80 port". Everything is ok, in short.
But when I start Nginx-proxy and use WP, I get 503 or 500 errors...
Here is a similar discussion, but there is no solution, although it seems to me that only the correct nginx settings are needed.
https://askdev.ru/q/nginx-proksi-dlya-neskolkih-uz...
here's another one:
https://coderoad.wiki/57640631/jwilder-nginx-proxy...
and more
https://question -it.com/questions/4316518/docker-c...
many similar unanswered questions :(
If I connect "adamkdean/redirect" then still nothing:
https://0.0.0.0:443/ --- 503 Service Temporarily Unavailable
http://0.0.0.0:80 --- 503 Service Temporarily Unavailable
https://site_name.com --- 500 Internal Server Error
how to fix this
Answer the question
In order to leave comments, you need to log in
in general for wp expose does not work. what is jwilder, what is not - accessibility by "ports".
that's just the jwilder feature in terminating at one point, the ability to dynamically drop services without rewriting the config. Whether it is executed or not - I will check it in the future.
ports:
- "8080:80"
# expose:
# - 8080
# - 80
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question