error 500 when trying to access wordpress via https #354
superflay123
started this conversation in
General
Replies: 2 comments 2 replies
-
You need a public ip address in order to have the certificate issued... if you do check the logs for the letsencrypt certificate and send it to us without the personal information: docker logs letsencrypt-auto |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is there an option in which to use your automatic nginx proxy but the certificates for a site to be taken from a file locally. My goal is to make a non-product server for local development. Can you help me with that? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, congratulations on the good work. My problem with nginx proxy is when I try to access a wordpress site through https it always returns me error 500 (internal server error). Everything works on port 80. when I logged in to the docker image of the nginx proxy (docker exec -it proxy-web-auto / bin / sh) I see the following in the configuration file
###############
server {
server_name dobrich-bg.com;
listen 80;
access_log /var/log/nginx/access.log vhost;
include /etc/nginx/vhost.d/default;
location / {
proxy_pass http://dobrich-bg.com;
}
}
server {
server_name dobrich-bg.com;
listen 443 ssl http2;
access_log /var/log/nginx/access.log vhost;
return 500;
ssl_certificate /etc/nginx/certs/default.crt;
ssl_certificate_key /etc/nginx/certs/default.key;
###################
Where is the problem and where am I wrong, please help me
P.S.
the server is on a local network
192.168.1.222 Debian OS
Beta Was this translation helpful? Give feedback.
All reactions