home · contact · privacy
Improve nginx and IRC logs integration.
[config] / systemfiles / nginx.conf
index 5b9b028cd4085fe292f95fd0899e0556307ab0e4..98626de2ed962d5da8fe8080ede3193a3c25388b 100644 (file)
@@ -23,18 +23,19 @@ http {
        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;
 
-        # file server
+        # IRC logs server
         server {
                 location / {
+                        auth_basic "IRC logs";
+                        auth_basic_user_file /var/www/password_irclogs_zrolaps;
                         autoindex on;
-                        root /data/www;
+                        root /var/www/irclogs_zrolaps/;
                 }
         }
 
         # htwtxt
         server {
-                listen 8080;
-                #server_name htwtxt.plomlompom.com;
+                server_name htwtxt.plomlompom.com;
                 location / {
                         proxy_pass http://127.0.0.1:8000;
                 }