summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--Makefile9
-rw-r--r--mioproxy.prod.hcl11
m---------vhosts/t/albatross-swift0
4 files changed, 20 insertions, 3 deletions
diff --git a/.gitmodules b/.gitmodules
index 03f00fd..3150cf7 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "vhosts/t/albatross"]
path = vhosts/t/albatross
url = git@github.com:nsfisis/phperkaigi-2024-albatross.git
+[submodule "vhosts/t/albatross-swift"]
+ path = vhosts/t/albatross-swift
+ url = git@github.com:nsfisis/iosdc-japan-2024-albatross.git
diff --git a/Makefile b/Makefile
index 2b33341..8f2fc32 100644
--- a/Makefile
+++ b/Makefile
@@ -10,14 +10,17 @@ provision:
.PHONY: build
build:
- cd vhosts/t/albatross; make -f Makefile.prod build
+ # cd vhosts/t/albatross; make -f Makefile.prod build
+ cd vhosts/t/albatross-swift; make -f Makefile.prod build
.PHONY: serve
serve:
sudo systemctl start mioproxy
- cd vhosts/t/albatross; make -f Makefile.prod serve
+ # cd vhosts/t/albatross; make -f Makefile.prod serve
+ cd vhosts/t/albatross-swift; make -f Makefile.prod serve
.PHONY: clean
clean:
- cd vhosts/t/albatross; make -f Makefile.prod clean
+ cd vhosts/t/albatross-swift; make -f Makefile.prod clean
+ # cd vhosts/t/albatross; make -f Makefile.prod clean
sudo systemctl stop mioproxy
diff --git a/mioproxy.prod.hcl b/mioproxy.prod.hcl
index c2518d3..c7e0190 100644
--- a/mioproxy.prod.hcl
+++ b/mioproxy.prod.hcl
@@ -27,4 +27,15 @@ server https {
port = 8001
}
}
+
+ proxy albatross-swift {
+ from {
+ host = "t.nil.ninja"
+ path = "/iosdc-japan/2024/code-battle/"
+ }
+ to {
+ host = "127.0.0.1"
+ port = 8002
+ }
+ }
}
diff --git a/vhosts/t/albatross-swift b/vhosts/t/albatross-swift
new file mode 160000
+Subproject b450648caa0d1bd5c91e67a33153bbacaf57f00