Update Simplified_Deployment authored by Jacob Benz's avatar Jacob Benz
...@@ -27,7 +27,7 @@ The machine you want to deploy LEAF-Writer on also needs to have `git` installed ...@@ -27,7 +27,7 @@ The machine you want to deploy LEAF-Writer on also needs to have `git` installed
13. Copy the files `leafwriter.conf` in the directory `leafwriter-configuration-files/nginx-sample-conf` to the configuration directory for your nginx installation. On Debian-based systems this is `/etc/nginx/sites-available` on other distributions it may be something like `/etc/nginx/conf.d`. Make sure that the files in this directory are loaded by e.g. on Debian-based distributions adding a symlink in the `/etc/nginx/sites-enabled` directory. Open the file you just copied and adjust the `server_name` to point to the domain you want to serve LEAF-Writer on. 13. Copy the files `leafwriter.conf` in the directory `leafwriter-configuration-files/nginx-sample-conf` to the configuration directory for your nginx installation. On Debian-based systems this is `/etc/nginx/sites-available` on other distributions it may be something like `/etc/nginx/conf.d`. Make sure that the files in this directory are loaded by e.g. on Debian-based distributions adding a symlink in the `/etc/nginx/sites-enabled` directory. Open the file you just copied and adjust the `server_name` to point to the domain you want to serve LEAF-Writer on.
14. Reload nginx 14. Reload nginx
15. Add the SSL-certificate. If you use certbot and nginx run: `sudo certbot -d docker.leafwriter-playground.users.h-da.cloud --nginx` 15. Add the SSL-certificate. If you use certbot and nginx run: `sudo certbot -d docker.leafwriter-playground.users.h-da.cloud --nginx`
16. Check if LEAF-Writer is reachable from the internet. On some distributions 16. Check if LEAF-Writer is reachable from the internet. On some distributions your web server may actually not have the permissions to talk to the locally served LEAF-Writer server. [This link](https://stackoverflow.com/questions/25235453/nginx-proxy-server-localhost-permission-denied) may help you to adjust the permissions.
# Updating LEAF-Writer # Updating LEAF-Writer
... ...
......