home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add dumpsite index to bullseye setup.
[config]
/
systemfiles
/
nginx.conf
diff --git
a/systemfiles/nginx.conf
b/systemfiles/nginx.conf
index 07d6bdebf7e80f38f8cb078185ff593ea9521cc4..3def78da74abf407fcd91de8a0b62c137931ecef 100644
(file)
--- a/
systemfiles/nginx.conf
+++ b/
systemfiles/nginx.conf
@@
-39,6
+39,7
@@
http {
ssl_certificate_key /etc/letsencrypt/live/dump.plomlompom.com/privkey.pem;
root /var/www/html/;
location /zettel/ {
ssl_certificate_key /etc/letsencrypt/live/dump.plomlompom.com/privkey.pem;
root /var/www/html/;
location /zettel/ {
+ # rewrite non-suffixed filenames to .html ones
rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html;
autoindex on;
}
rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html;
autoindex on;
}
@@
-70,6
+71,10
@@
http {
auth_basic_user_file /var/www/password_lesekreis;
autoindex on;
}
auth_basic_user_file /var/www/password_lesekreis;
autoindex on;
}
+ location /uwsgi/ {
+ include uwsgi_params;
+ uwsgi_pass 127.0.0.1:3031;
+ }
}
# htwtxt
}
# htwtxt