Template:Installation/Reverse proxy: Difference between revisions

From diaspora* project wiki
m (MrZYX moved page User:MrZYX/WIP:Installation/Reverse proxy to Template:Installation/Reverse proxy without leaving a redirect)
(Rework Reverse proxy section to highly encourage nginx)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Reverse proxy ===
== Reverse proxy ==


You most likely have already a webserver running on port 80 (http) and 443 (https). It also should serve Diasporas static content and forward all other requests to Diaspora. Here are some example configurations to achieve that:
To connect the internet to diaspora*, and to serve static files, you need to set up a reverse proxy. We '''highly recommend nginx''', and [[Nginx_configuration|you can find an example configuration for nginx here]].


* '''Apache''': https://gist.github.com/MrZYX/719014
=== Alternatives to nginx (not recommended) ===
* '''Nginx''': https://gist.github.com/MrZYX/1355430
 
Alternatively, you can check out these community-contributed options. However, please note that we will have a hard time supporting you if you run into issues with them!
 
* '''Apache''': https://gist.github.com/719014
* '''Caddy''': https://gist.github.com/oliof/57345a6596bb3a564f68d1482fb383f9
 
[[Category:Templates]]

Latest revision as of 23:14, 15 June 2024

Reverse proxy

To connect the internet to diaspora*, and to serve static files, you need to set up a reverse proxy. We highly recommend nginx, and you can find an example configuration for nginx here.

Alternatives to nginx (not recommended)

Alternatively, you can check out these community-contributed options. However, please note that we will have a hard time supporting you if you run into issues with them!