File tree Expand file tree Collapse file tree
root/defaults/nginx/site-confs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ init_diagram: |
8282 "freshrss:latest" <- Base Images
8383# changelog
8484changelogs :
85+ - {date: "08.02.26:", desc: "Existing users should update: site-confs/default.conf - Deny access to all dotfiles."}
8586 - {date: "27.07.25:", desc: "Rebase to Alpine 3.22."}
8687 - {date: "19.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
8788 - {date: "10.04.24:", desc: "Added php-exif module to resolve issue with fever api."}
Original file line number Diff line number Diff line change 1- ## Version 2024/07/16 - Changelog: https://github.com/linuxserver/docker-freshrss/commits/master/root/defaults/nginx/site-confs/default.conf.sample
1+ ## Version 2026/02/08 - Changelog: https://github.com/linuxserver/docker-freshrss/commits/master/root/defaults/nginx/site-confs/default.conf.sample
22
33server {
44 listen 80 default_server;
55 listen [::]:80 default_server;
66 listen 443 ssl default_server;
77 listen [::]:443 ssl default_server;
8+ listen 443 quic reuseport default_server;
9+ listen [::]:443 quic reuseport default_server;
810
911 server_name _;
1012
@@ -33,8 +35,16 @@ server {
3335 include /etc/nginx/fastcgi_params;
3436 }
3537
36- # deny access to .htaccess/.htpasswd files
37- location ~ /\.ht {
38+ # deny access to all dotfiles
39+ location ~ /\. {
3840 deny all;
41+ log_not_found off;
42+ access_log off;
43+ return 404;
44+ }
45+
46+ # Allow access to the ".well-known" directory
47+ location ^~ /.well-known {
48+ allow all;
3949 }
4050}
You can’t perform that action at this time.
0 commit comments