File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
root/defaults/nginx/site-confs Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ app_setup_block: |
113
113
114
114
# changelog
115
115
changelogs :
116
+ - { date: "25.01.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }
116
117
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
117
118
- { date: "31.10.23:", desc: "Further sanitize sed replace." }
118
119
- { date: "07.06.23:", desc: "Add mariadb-client for bookstack-system-cli support." }
Original file line number Diff line number Diff line change 1
- ## Version 2023/04/13 - Changelog: https://github.com/linuxserver/docker-bookstack/commits/master/root/defaults/nginx/site-confs/default.conf.sample
1
+ ## Version 2023/12/25 - Changelog: https://github.com/linuxserver/docker-bookstack/commits/master/root/defaults/nginx/site-confs/default.conf.sample
2
2
3
3
server {
4
4
listen 80 default_server;
@@ -19,11 +19,16 @@ server {
19
19
#auth_basic "Restricted";
20
20
#auth_basic_user_file /config/nginx/.htpasswd;
21
21
22
- try_files $uri $uri/ /index.php$is_args$args;
22
+ try_files $uri $uri/ /index.html /index.htm /index. php$is_args$args;
23
23
}
24
24
25
25
location ~ ^(.+\.php)(.*)$ {
26
+ # enable the next two lines for http auth
27
+ #auth_basic "Restricted";
28
+ #auth_basic_user_file /config/nginx/.htpasswd;
29
+
26
30
fastcgi_split_path_info ^(.+\.php)(.*)$;
31
+ if (!-f $document_root$fastcgi_script_name) { return 404; }
27
32
fastcgi_pass 127.0.0.1:9000;
28
33
fastcgi_index index.php;
29
34
include /etc/nginx/fastcgi_params;
You can’t perform that action at this time.
0 commit comments