guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: hydra: nginx: Remove various comments.


From: Ludovic Courtès
Subject: 01/02: hydra: nginx: Remove various comments.
Date: Tue, 01 Mar 2016 13:29:40 +0000

civodul pushed a commit to branch master
in repository maintenance.

commit 2498846fd29240a418c007c781857420cbfe591f
Author: Ludovic Courtès <address@hidden>
Date:   Tue Mar 1 09:59:23 2016 +0100

    hydra: nginx: Remove various comments.
---
 hydra/nginx/hydra.gnu.org.conf |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/hydra/nginx/hydra.gnu.org.conf b/hydra/nginx/hydra.gnu.org.conf
index 8ff52c4..fb54c0e 100644
--- a/hydra/nginx/hydra.gnu.org.conf
+++ b/hydra/nginx/hydra.gnu.org.conf
@@ -24,7 +24,6 @@ http {
     access_log /var/log/nginx/access.log;
 
     sendfile        on;
-    #tcp_nopush     on;
 
     # Maximum chunk size to send.  Partly this is a workaround
     # for <http://bugs.gnu.org/19939>, but also the nginx docs
@@ -33,15 +32,9 @@ http {
     # <http://nginx.org/en/docs/http/ngx_http_core_module#sendfile_max_chunk>
     sendfile_max_chunk 1m;
 
-    #keepalive_timeout  0;
     keepalive_timeout  65;
-    #tcp_nodelay        on;
-
-    #gzip  on;
-    #gzip_disable "MSIE [1-6]\.(?!.*SV1)";
 
     include /etc/nginx/conf.d/*.conf;
-    #include /etc/nginx/sites-enabled/*;
 
     # cache for narinfo files
     proxy_cache_path /var/cache/nginx/narinfo
@@ -88,19 +81,7 @@ http {
 
        location /api {
            # For the sake of the JS code at http://gnu.org/s/guix/packages.
-           #add_header 'Access-Control-Allow-Origin' '*';
-           #add_header 'Access-Control-Allow-Origin' 'https://www.gnu.org';
-           #add_header 'Access-Control-Allow-Origin' 'https://gnu.org';
            add_header 'Access-Control-Allow-Origin' 'http://www.gnu.org';
-           #add_header 'Access-Control-Allow-Origin' 'http://gnu.org';
-           #add_header 'Access-Control-Allow-Origin' 
'https://www.gnu.org/software/guix/packages';
-           #add_header 'Access-Control-Allow-Origin' 
'https://www.gnu.org/software/guix/packages/';
-           #add_header 'Access-Control-Allow-Origin' 
'https://www.gnu.org/software/guix/packages/index.html';
-           #add_header 'Access-Control-Allow-Origin' 
'https://gnu.org/software/guix/packages/';
-           #add_header 'Access-Control-Allow-Origin' 
'http://www.gnu.org/software/guix/packages';
-           #add_header 'Access-Control-Allow-Origin' 
'http://www.gnu.org/software/guix/packages/';
-           #add_header 'Access-Control-Allow-Origin' 
'http://www.gnu.org/software/guix/packages/index.html';
-           #add_header 'Access-Control-Allow-Origin' 
'http://gnu.org/software/guix/packages/';
            proxy_pass http://127.0.0.1:3000;
        }
 
@@ -166,15 +147,6 @@ http {
            proxy_hide_header    Set-Cookie;
            proxy_ignore_headers Set-Cookie;
        }
-
-       #error_page  404  /404.html;
-
-       # redirect server error pages to the static page /50x.html
-       #
-       #error_page   500 502 503 504  /50x.html;
-       #location = /50x.html {
-       #       root   /var/www/nginx-default;
-       #}
     }
 
     # TODO: HTTPS server



reply via email to

[Prev in Thread] Current Thread [Next in Thread]