I want to use WriteFreely with two virtual servers (Debian, Nginx reverse proxy). Do I need to install it twice and run two services in parallel (each listening to a different port), or can I move it from one /var/www/virtualdir/writefreely
somewhere else, run a single service and have WriteFreely use two separate config.ini
files?
I managed to get this working simply by duplicating the setup and creating a separate service listening on a different port … I’m sure there are better ways to achieve this, but they’re currently beyond my linux-fu
It should work fine if you use a single install location and just pass two different configuration files (using the -c [filename]
flag). But glad you got it working!
1 Like