5 # is expected even if empty
10 # define content-type headers
12 text/html html htm shtml;
15 text/plain txt sh rst md;
16 application/xhtml+xml xhtml;
21 default_type application/octet_stream;
25 access_log /var/log/nginx/access.log;
26 error_log /var/log/nginx/error.log;
31 return 301 https://$host$request_uri;
37 server_name dump.plomlompom.com;
38 ssl_certificate /etc/letsencrypt/live/dump.plomlompom.com/fullchain.pem;
39 ssl_certificate_key /etc/letsencrypt/live/dump.plomlompom.com/privkey.pem;
42 # rewrite non-suffixed filenames to .html ones
43 rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html;
50 auth_basic "geheim geheim";
51 auth_basic_user_file /var/www/password_geheim;
54 location /irclogs/zrolaps/ {
55 auth_basic "#zrolaps logs";
56 auth_basic_user_file /var/www/password_irclogs_zrolaps;
59 location /irclogs/nodrama.de/ {
60 auth_basic "#nodrama.de logs";
61 auth_basic_user_file /var/www/password_irclogs_nodrama_de;
64 location /irclogs/freakazoid/ {
65 auth_basic "#freakazoid logs";
66 auth_basic_user_file /var/www/password_irclogs_freakazoid;
69 location /lesekreis/ {
70 auth_basic "Quellen Lesekreis";
71 auth_basic_user_file /var/www/password_lesekreis;
76 uwsgi_pass 127.0.0.1:3031;
83 server_name htwtxt.plomlompom.com;
84 ssl_certificate /etc/letsencrypt/live/htwtxt.plomlompom.com/fullchain.pem;
85 ssl_certificate_key /etc/letsencrypt/live/htwtxt.plomlompom.com/privkey.pem;
87 proxy_pass http://127.0.0.1:8000;