Sign inSign up

denistimofijuk/nginxwebserver

By denistimofijuk

•Updated over 2 years ago

Very light and reusable web-server. Use volume to mount your own website. Tuned for TrueNAS SCALE

Image
Web servers
0

1.0K

denistimofijuk/nginxwebserver repository overview

This is Nginx webserver for TrueNAS Scale. Install this image to your server via "Custom Apps" and set "Host Path Volumes". Upload your website files to dedicated volume, forward port 80 in "Port Forwarding" section, and you are good.

⁠Permission Issues

There is an issue with permissions when trying to use files on volume. I tried to fix this automatically by adding extra command in docker file, but this is not always working. Probably each time when files are uploaded permissions changes. Need to dig deeper on NAS side.
For now the fix is manually change parmisions in that docker container like this:

  1. open Pod Shell and enter these commands:
chmod -R 777 /usr/share/nginx
chown -R nginx:nginx /usr/share/nginx/html

after running displayed command you should see this:

ls -ld /usr/share/nginx/html
drwxrwxrwx    3 nginx    nginx            5 Mar 29 08:11 /usr/share/nginx/html

Tag summary

Content type

Image

Digest

sha256:15d8f61a5…

Size

17.1 MB

Last updated

over 2 years ago

docker pull denistimofijuk/nginxwebserver:3.1