Template:Installation/Reverse proxy: Difference between revisions

From diaspora* project wiki
(+cat)
(Rework Reverse proxy section to highly encourage nginx)
 
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]].
 
=== 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!


* '''Apache''': https://gist.github.com/719014
* '''Apache''': https://gist.github.com/719014
* '''Nginx''': https://gist.github.com/1355430
* '''Caddy''': https://gist.github.com/oliof/57345a6596bb3a564f68d1482fb383f9
* '''Caddy''': https://gist.github.com/oliof/57345a6596bb3a564f68d1482fb383f9


[[Category:Templates]]
[[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!