Blog

NGINX : How to configure SSL server + etherpad within subdirectory


 

you wil find below a working NGINX configuration in order to run Spip but also etherpad-lite with restricted access in subdirectory

 

Pre-requisite :

OS = Debian > Install NGINX obviously :)

+

installation of Etherpad-lite \o/

Create a new virtual host (server block) in NGINX nano or vim /etc/nginx/sites-available/myNGO.org then adapt this config below according to your own domain and items \m/ Note that location of etherpad subdirectory is also password restricted through htpasswd and you will need to follow this howto server { listen 80; server_name myNGO.org; if ($request_method = POST) { return 307 https://www.myNGO.org$request_uri; } return 301 https://www.myNGO.org$request_uri; } server { listen 80; s...
More