21 Nov 2021 |
Nico Nico Nii | Usually there is an error log and an access log | 05:27:34 |
Nico Nico Nii | It could be that your config block is not included in the config file, etc | 05:28:06 |
matyklug | error log has nothing, and access log is 460K lines long | 05:28:29 |
matyklug | And it def is included | 05:28:40 |
matyklug | It's literally verbatim in the conf file | 05:28:47 |
matyklug | Next to all the other things, that work | 05:28:58 |
matyklug | The only difference to all the other entries are that it's not in a subdomain, and that it's not a proxy_pass or return | 05:31:13 |
Nico Nico Nii | Then you probably have a permission issue on the files | 05:32:04 |
matyklug | But how... It's literally world readable... | 05:32:29 |
ruek0293308600 | What are the permissions on the website folder? it has execute? | 05:32:42 |
Nico Nico Nii | The directory above it too? | 05:32:46 |
matyklug | The directory above is my home folder | 05:32:58 |
Nico Nico Nii | I.e. can you go to /, su to the nginx user and then navigate to that dir? | 05:33:07 |
matyklug | I can't su to the nginx user since This account is currently not available. | 05:33:41 |
matyklug | But my home dir is not world readable | 05:33:49 |
matyklug | It seems...? | 05:33:53 |
matyklug | Wait | 05:33:57 |
ruek0293308600 | ls -al /home/matyk/Website | 05:33:58 |
matyklug | Yea my home dir is not world readable. | 05:34:32 |
matyklug | And why tf would I make a directory executable... Can I, even? | 05:34:46 |
matyklug | In reply to @klugmathias:matrix.klugmathias.me sent an image. . | 05:34:59 |
Nico Nico Nii | In reply to @klugmathias:matrix.klugmathias.me And why tf would I make a directory executable... Can I, even? So that a user can explore it | 05:35:12 |
matyklug | What...? | 05:35:18 |
matyklug | Ah. | 05:36:08 |
matyklug |
No, the executable permission for directories means that you can enter the directory, making it your present working directory using cd, and see which files it contains.
| 05:36:10 |
matyklug | Welp, TIL | 05:36:12 |
matyklug | still forbidden, tho. | 05:36:45 |
matyklug |  Download image.png | 05:37:10 |
Nico Nico Nii | you could just run su nginx ls -la /home/matyk/Website , I think? | 05:38:11 |
matyklug | Hmm, ight lemme try | 05:39:01 |