From b20724eed99bef8730715e9c8079f818230c57e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Wed, 2 Aug 2023 15:21:16 +0200
Subject: [PATCH] Nginx => Add "dojo" prefix for rdps domain name

---
 Frontend           | 2 +-
 Proxy/default.conf | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Frontend b/Frontend
index a58c106..e286be2 160000
--- a/Frontend
+++ b/Frontend
@@ -1 +1 @@
-Subproject commit a58c106b74cb9ee23d2b36e58d8e6e151401ac11
+Subproject commit e286be2e68fddf29f2cfa53bb6351b0806c1a5c4
diff --git a/Proxy/default.conf b/Proxy/default.conf
index 586c432..7debefe 100644
--- a/Proxy/default.conf
+++ b/Proxy/default.conf
@@ -28,7 +28,7 @@ server {
     large_client_header_buffers 4 1024k;
     client_max_body_size 100M;
 
-    location / {
+    location /dojo/ {
         proxy_pass http://dojo-frontend/;
         proxy_intercept_errors  on;
         proxy_http_version      1.1;
@@ -40,7 +40,7 @@ server {
         proxy_read_timeout      999999;
     }
 
-    location /api/ {
+    location /dojo/api/ {
         proxy_pass http://dojo-api:30992/;
         rewrite                 ^/api(/.*)$ $1 break;
         proxy_intercept_errors  on;
@@ -53,7 +53,7 @@ server {
         proxy_read_timeout      999999;
     }
 
-    location /adminer/ {
+    location /dojo/adminer/ {
         proxy_pass http://adminer:8080/;
         rewrite                 ^/adminer(/.*)$ $1 break;
         proxy_set_header        X-Real-IP  $remote_addr;
-- 
GitLab