X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=systemfiles%2Fnginx.conf;h=4bb06e5fd7902ea731b6b136af38d2c19dd27708;hb=47c754515a2c4eca8d8e90c75231a3a26e46f0c4;hp=0c1efe317218698071baf42ce7bb46767bffcaca;hpb=5600007ee1f299efe17630f226f7cbd2c8682053;p=config
diff --git a/systemfiles/nginx.conf b/systemfiles/nginx.conf
index 0c1efe3..4bb06e5 100644
--- a/systemfiles/nginx.conf
+++ b/systemfiles/nginx.conf
@@ -15,6 +15,9 @@ http {
text/plain txt;
text/plain sh;
application/xhtml+xml xhtml;
+ application/pdf pdf;
+ image/jpeg jpg jpeg;
+ image/png png;
}
default_type application/octet_stream;
charset utf-8;
@@ -36,6 +39,17 @@ http {
ssl_certificate /etc/letsencrypt/live/dump.plomlompom.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/dump.plomlompom.com/privkey.pem;
root /var/www/html/;
+ location /lifelog/ {
+ autoindex on;
+ }
+ location /dump/ {
+ autoindex on;
+ }
+ location /geheim/ {
+ auth_basic "geheim geheim";
+ auth_basic_user_file /var/www/password_geheim;
+ autoindex on;
+ }
location /irclogs/zrolaps/ {
auth_basic "#zrolaps logs";
auth_basic_user_file /var/www/password_irclogs_zrolaps;
@@ -46,6 +60,16 @@ http {
auth_basic_user_file /var/www/password_irclogs_nodrama_de;
autoindex on;
}
+ location /irclogs/freakazoid/ {
+ auth_basic "#freakazoid logs";
+ auth_basic_user_file /var/www/password_irclogs_freakazoid;
+ autoindex on;
+ }
+ location /lesekreis/ {
+ auth_basic "Quellen Lesekreis";
+ auth_basic_user_file /var/www/password_lesekreis;
+ autoindex on;
+ }
}
# htwtxt