guix-commits
[Top][All Lists]
Advanced

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

01/01: nginx: berlin: Route '/' to Cuirass.


From: Clément Lassieur
Subject: 01/01: nginx: berlin: Route '/' to Cuirass.
Date: Sun, 29 Jul 2018 19:24:16 -0400 (EDT)

snape pushed a commit to branch master
in repository maintenance.

commit e6e422af18c6d5dfacad3ede6df40a6c08d5d59f
Author: Clément Lassieur <address@hidden>
Date:   Mon Jul 30 01:14:20 2018 +0200

    nginx: berlin: Route '/' to Cuirass.
    
    * hydra/nginx/berlin-locations.conf: Change '/' route with the Cuirass
    proxy_pass.  Remove Cuirass exceptions.
---
 hydra/nginx/berlin-locations.conf | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/hydra/nginx/berlin-locations.conf 
b/hydra/nginx/berlin-locations.conf
index 11171f7..9d08e91 100644
--- a/hydra/nginx/berlin-locations.conf
+++ b/hydra/nginx/berlin-locations.conf
@@ -1,12 +1,13 @@
 # Configuration of the various HTTP locations.
 # This file is meant to be included in the bayfront configuration file.
 
-location = / {
-    # Make sure index.html lives in there.
-    root @WWWROOT@;
+# Cuirass.
+location / {
+    proxy_pass http://localhost:8081;
 }
 
 location = /index.html {
+    # Make sure index.html lives in there.
     root @WWWROOT@;
 }
 
@@ -124,12 +125,6 @@ location /file/ {
     proxy_ignore_client_abort on;
 }
 
-# Cuirass.
-location /specifications { proxy_pass http://localhost:8081; }
-location /jobsets { proxy_pass http://localhost:8081; }
-location /build { proxy_pass http://localhost:8081; }
-location /api { proxy_pass http://localhost:8081; }
-
 # For use by Certbot.
 location /.well-known {
     root /var/www;



reply via email to

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