diff --git a/conf/config.conf b/conf/config.conf index 41f9af5..266d000 100644 --- a/conf/config.conf +++ b/conf/config.conf @@ -61,7 +61,7 @@ port = __PORT__ # Serve static files from a web root folder. # Optional, but handy for serving the Kiwi IRC client if no other webserver is available [fileserving] -enabled = true +enabled = false webroot = __INSTALL_DIR__/www/ [transports] diff --git a/conf/nginx.conf b/conf/nginx.conf index 3512ed3..8447990 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,15 +1,15 @@ location / { index index.html; - root /usr/share/kiwiirc/; + root __INSTALL_DIR/www/; } location /webirc/ { # Forward incoming requests to local webircgateway socket proxy_pass http://127.0.0.1:__PORT__/webirc/; - + # Set http version and headers proxy_http_version 1.1; - + # Add X-Forwarded-* headers proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme;