Rick_C137
Update, this is only happening when I copy files from a ~SMB share… :'(
Otherwise it’s correct…
Proxmox seem powerfull
It’s a Type1, not Type2
https://en.wikipedia.org/wiki/Hypervisor#Classification
Thank you all !
Indeed setting execute
perm on example, sub1, sub2, static
The program/user have now access to the directory.
In order words all the parents directory need at least execute
in order to have access in the targeted directory…
Now I gave 751 for static. Meaning than others (here nginx) cannot list the files within. But never the less it works
the static files are appearing when requested (HTTP) but forbidding nginx to list the directory is changing something ? (performance/security)
Thanks
I wanted to have a default server
that catch ~wrong DNS query to the server
Solution
I don’t know how to link to my previous lemmy post, so here it is again
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404_CatchAll.html;
# Everything is a 404
location / {
return 404;
}
location /404_CatchAll.html {root /var/www/html/;}
}
The full working code:
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404_CatchAll.html;
# Everything is a 404
location / {
return 404;
}
location /404_CatchAll.html {root /var/www/html/;}
}
ok I’ve found something that ~works !
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404.html; #at /var/www/html/
location /404.html {internal;}
return 404;
}
so i get the default 404 html from nginx. but not the one that I specified error_page 404 /404.html;
any ideas ?
Something worth reading regarding Systemd https://www.devuan.org/os/announce/ Cheers.
I’ve received a lot of reactions on the original post: https://programming.dev/post/10465121
But if someone is involved with the development of Thunderbird I think this is worth reading: https://programming.dev/comment/7677398
For my part I will use the OpenPGP sigin tools for now.
Cheers.