This commit is contained in:
Dessalines 2023-06-23 08:36:22 -04:00
commit cd5c25c6ac
2 changed files with 4 additions and 1 deletions

View file

@ -6,7 +6,7 @@ This provides an easy way to install [Lemmy](https://github.com/LemmyNet/lemmy)
To run this ansible playbook, you need to:
- Have a server / VPS where lemmy will run.
- Have a Debian-based server / VPS where lemmy will run.
- Configure a DNS `A` Record to point at your server's IP address.
- Make sure you can ssh to it, with a sudo user: `ssh <your-user>@<your-domain>`
- Install [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) on your **local** machine (do not install it on your destination server).

View file

@ -25,6 +25,9 @@ server {
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;
}
}