about summary refs log tree commit diff
path: root/nginx/conf.d/cgit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/conf.d/cgit.conf')
-rw-r--r--nginx/conf.d/cgit.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/nginx/conf.d/cgit.conf b/nginx/conf.d/cgit.conf
index 651a0eb..57f62fc 100644
--- a/nginx/conf.d/cgit.conf
+++ b/nginx/conf.d/cgit.conf
@@ -1,13 +1,18 @@
 server {
         listen          80;
+        listen          [::]:80;
         server_name     git.dybiec.info;
         return          301 https://$server_name$request_uri;
 }
 
 server {
         listen 443 ssl http2;
+        listen [::]:443 ssl http2;
         server_name git.dybiec.info;
-        location ~* ^.+(cgit.(css|png)|favicon.ico|robots.txt) {
+        location /favicon.ico {                                                            
+                root /var/www/html/;
+	}
+        location ~* ^.+(cgit.(css|png)|robots.txt) {
                 root /usr/share/cgit/;
         }
         location / {