04-27-2018, 10:35 PM
Ok All Sorted now,
Had a battle with nginx and now have it working Yay
If it helps anybody else the problem I had was two fold.
Firstly I had not configured AWS ports properly, make sure that inbound HTTP traffic is allowed as well as SSH.
Secondly when setting up nginx, you cannot execute this command "printf "username:`openssl passwd -apr1`\n" >> /etc/nginx/.htpasswd" without chmod the nginx directory to add write access. dont forget to change it back again.
Thanks to AskMike for an excelent program.
Had a battle with nginx and now have it working Yay
If it helps anybody else the problem I had was two fold.
Firstly I had not configured AWS ports properly, make sure that inbound HTTP traffic is allowed as well as SSH.
Secondly when setting up nginx, you cannot execute this command "printf "username:`openssl passwd -apr1`\n" >> /etc/nginx/.htpasswd" without chmod the nginx directory to add write access. dont forget to change it back again.
Thanks to AskMike for an excelent program.