5.) Installing Nginx
- connect via ssh to your pi
- we create now a directory for nginx, a config.json file and a docker-compose.yml
- type in: mkdir nginx
- type in: cd nginx
- type in: nano docker-compose.yml
- paste in:
- now you have access via webbrowser for your nginx proxy manager : http://ip-adress-of-your-pi:81
- on first login the credentials are
username: admin@example.com
passwrod: changeme
- create your hosts you need
For Apple Users:
You must add an additional line in your nginx config to avoid parsing errors
- go to portainer
- open the nginx app container console
- type in:
update
- type in:
apt install nano
- type in:
echo "proxy_hide_header Upgrade;" >> /etc/nginx/conf.d/default.conf
- exit and restart the nginx app container