Hi, I am really struggling to get nginx working in TruenasScale jail. I have followed capt stux jail maker video. I have a working jail. I have added the following nginx yaml compose file:
version: "3.8"
services:
nginx:
image: nginx:latest
restart: unless-stopped
ports:
- 8080:80
volumes:
- ./www:/var/www/html
- ./templates:/etc/nginx/templates
networks: {}
I have a standard nginx landing page on port 8080.
When I Putty into my TrueNas (not the jail) I can see that within my stacks directory I have a new folder created by the dockge deployment called nginx. Within that folder there are two created folders called templates and www. Both are empty. There is no default.conf to edit and any html boilerplate file put by me into the www directory is ignored.
Please can I have some help?
Many thanks.