My domain is:
rednowerton.tk
I ran this command:
It produced this output:
My web server is (include version):
nginx 1.10.3
The operating system my web server runs on is (include version):
ubuntu 16
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no, terminal only
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
sudo certbot --nginx -d rednowerton.tk -d www.rednowerton.tk
There were no errors in the cert bot install
Hello,
This is my config file.
LetsEncrypt installed correctly, and I’m hosting two websites using two docker containers.
When I browse to https://www.rednowerton.tk Nextcloud will load properly.
When I browse to https://rednowerton.tk/wordpress the CSS in wordpress will not load properly.
This is the config file:
server {
listen 443 ssl;
# If you want to also support ipv6
listen [::]:443 ssl;
server_name rednowerton.tk;
ssl_certificate /etc/letsencrypt/live/rednowerton.tk-0001/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/rednowerton.tk-0001/privkey.pem;
location /wordpress/ {
proxy_pass_header Server;
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;
#rewrite ^/wordpress(/.*)$ $1 last;
proxy_pass http://localhost:8081/;
}
location / {
proxy_pass_header Server;
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;
proxy_pass http://localhost:81;
}
}