~abcdw/trop.in

ca0a46781dd9011e2fb12e3be1746ab2cfc37089 — Andrew Tropin 5 months ago 3ab2f46
Add server_tokens off.
2 files changed, 5 insertions(+), 8 deletions(-)

M rde/channels-lock.scm
M src/tropin/machines.scm
M rde/channels-lock.scm => rde/channels-lock.scm +2 -2
@@ 5,7 5,7 @@
        (url "https://git.sr.ht/~abcdw/rde")
        (branch "master")
        (commit
          "38e9f3233c38e4809681feeab6c5e2abae55d0bb")
          "0c96d34a34f95776f0d408a30d167b7ee3244d8a")
        (introduction
          (make-channel-introduction
            "257cebd587b66e4d865b3537a9a88cccd7107c95"


@@ 16,7 16,7 @@
        (url "https://git.savannah.gnu.org/git/guix.git")
        (branch "master")
        (commit
          "c371555a4b46a5c9288f54753b0f158f9c4b8abc")
          "7c7853d269fe53271dd35d5bd941d18a2cb55120")
        (introduction
          (make-channel-introduction
            "9edb3f66fd807b096b48283debdcddccfea34bad"

M src/tropin/machines.scm => src/tropin/machines.scm +3 -6
@@ 95,18 95,15 @@
         (record off))))))))

(define (get-nginx-conf)
  `(;; TODO: Move it to nginx service
    (user nginx nginx)
    (pid /var/run/nginx/pid)

    (load_module ,(file-append nginx-rtmp-module
  `((load_module ,(file-append nginx-rtmp-module
                               "/etc/nginx/modules/ngx_rtmp_module.so"))
    ,#~""
    (events ())
    ,#~""
    (http
     ,(append
       `((include  ,(file-append nginx "/share/nginx/conf/mime.types")))
       `((server_tokens off)
         (include  ,(file-append nginx "/share/nginx/conf/mime.types")))
       (interpose
        (list
         (guix-mirror-server-context