here is my nginx config
server {
server_name t.poal.co;
access_log /var/log/nginx/tpoalco.log;
location / {
root /root/throat/thumbs/;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/poal.co/fullchain.pem; # managed by C$
ssl_certificate_key /etc/letsencrypt/live/poal.co/privkey.pem; # managed by$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = poal.co) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name poal.co;
return 404; # managed by Certbot
}
403 error for me, perhaps ssl error for everyone else but that should be easy to clear up. I'm thinking its a permissions thing but I made www-data the owner of the thumbs directory so someone tell me why I'm being an idiot.
here is my nginx config
server {
server_name t.poal.co;
access_log /var/log/nginx/tpoalco.log;
location / {
root /root/throat/thumbs/;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/poal.co/fullchain.pem; # managed by C$
ssl_certificate_key /etc/letsencrypt/live/poal.co/privkey.pem; # managed by$
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = poal.co) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name poal.co;
return 404; # managed by Certbot
}
403 error for me, perhaps ssl error for everyone else but that should be easy to clear up. I'm thinking its a permissions thing but I made www-data the owner of the thumbs directory so someone tell me why I'm being an idiot.
(post is archived)