What's the problem / what's wrong?
Lemmy Support
Support / questions about Lemmy.
I installed Lemmy from scratch, and instead of a registration screen, I'm getting that. Do you know what I might have done wrong?
It looks like you're reaching the lemmy server directly as opposed to lemmy-ui. What's your NGINX configuration like?
For formatting purposes : https://pastebin.com/dbL6HHZc
You can use the triple backticks for better rendering on lemmy:
imit_req_zone $binary_remote_addr zone=lemmydocker.genesis-radio.net_ratelimit:10m rate=1r/s;
server {
listen 80;
listen [::]:80;
server_name lemmydocker.genesis-radio.net;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lemmydocker.genesis-radio.net;
ssl_certificate /etc/letsencrypt/live/lemmydocker.genesis-radio.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/lemmydocker.genesis-radio.net/privkey.pem;
location / {
proxy_pass http://0.0.0.0:8536;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
access_log /var/log/nginx/access.log combined;
Replied on your other comment that you deleted
Looks like they changed up some things in the lemmy-ansible repository, resulting in the docker guide being outdated.
Take a look at this nginx config file instead: https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/nginx_internal.conf It splits incoming requests and directs them to either the UI server or the backend server.