Docker NGNIX 403 Forbidden

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Surely you can describe your problem, steps taken so far, and expected outcome in some detail. You've given everybody very little to actually work with.
 

Koloss42

Dabbler
Joined
Aug 21, 2023
Messages
21
Surely you can describe your problem, steps taken so far, and expected outcome in some detail. You've given everybody very little to actually work with.
Yes with pleasure, etnschuldigugn if it was too little infos.
I set up a Docker image of NGINX on my TRUENAS Scale, with DHCP on port 9999 and then mounted a dataset from a dataset in "/usr/share/nginx/html". That's all I did. In the folder for the website is still an old htaccess file in there, but that should not be a problem, right?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
And are the permissions set in a way that Nginx can read the files?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
chmod and chown, primarily, in most sane scenarios for this...
 
Top