From 84c6574236bdc21fe2e74d65a6923f3f90723426 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 10 Dec 2021 17:32:02 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 2c9da468..7ee8547c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -206,6 +206,41 @@ Install types: A MAC build of bare files untested for people to try if they really want to go this route until we have a mac we can't really support this so we should say unsupported +# LINUX BAREMETAL NGINX + +Followed normal lan install + +Installed NGINX using guide here https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04 +basically just +sudo apt install nginx +No need to adjust ufw firewall settings at all as am using digitalocean firewall + +replaced default nginx site config file here /etc/nginx/sites-enabled/default +with this configuration for initial testing: +server { + listen 80; + #server_name green.helloayanova.com *; + location / { + proxy_pass http://127.0.0.1:7575; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection keep-alive; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } +} + +confirm it's valid: +nginx -t + +restart nginx to take effect +systemctl restart nginx + +Navigated to the ip address and it works properly but not ssl yet + + @@ -218,6 +253,9 @@ Install types: ██████╔╝╚██████╔╝╚██████╗╚██████╔╝██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║ ╚═════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ + +- 1: todo: the icon for AyaNova is the old yellow one in the docs, change to the new green one + - Mirror docs to our site so we can link to a central place for them when doing website and for beta test, installation etc First up is installation docs