5 # is expected even if empty
10 # define content-type headers
12 text/html html htm shtml;
15 text/plain txt sh rst;
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 ^(/zettel/(.*/)*[^./]+)$ $1.html;
49 auth_basic "geheim geheim";
50 auth_basic_user_file /var/www/password_geheim;
53 location /irclogs/zrolaps/ {
54 auth_basic "#zrolaps logs";
55 auth_basic_user_file /var/www/password_irclogs_zrolaps;
58 location /irclogs/nodrama.de/ {
59 auth_basic "#nodrama.de logs";
60 auth_basic_user_file /var/www/password_irclogs_nodrama_de;
63 location /irclogs/freakazoid/ {
64 auth_basic "#freakazoid logs";
65 auth_basic_user_file /var/www/password_irclogs_freakazoid;
68 location /lesekreis/ {
69 auth_basic "Quellen Lesekreis";
70 auth_basic_user_file /var/www/password_lesekreis;
78 server_name htwtxt.plomlompom.com;
79 ssl_certificate /etc/letsencrypt/live/htwtxt.plomlompom.com/fullchain.pem;
80 ssl_certificate_key /etc/letsencrypt/live/htwtxt.plomlompom.com/privkey.pem;
82 proxy_pass http://127.0.0.1:8000;