From 068c978ed97e320605daa3d3f878f003853ee653 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 8 Mar 2025 10:59:10 +0900 Subject: feat: add albatross.php 2025 --- .gitmodules | 3 +++ Makefile | 3 +++ mioproxy.prod.hcl | 11 +++++++++++ vhosts/t/albatross-php-2025 | 1 + 4 files changed, 18 insertions(+) create mode 160000 vhosts/t/albatross-php-2025 diff --git a/.gitmodules b/.gitmodules index 3150cf7..a1dd2d1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "vhosts/t/albatross-swift"] path = vhosts/t/albatross-swift url = git@github.com:nsfisis/iosdc-japan-2024-albatross.git +[submodule "vhosts/t/albatross-php-2025"] + path = vhosts/t/albatross-php-2025 + url = git@github.com:nsfisis/phperkaigi-2025-albatross.git diff --git a/Makefile b/Makefile index eeb203e..fd21c7a 100644 --- a/Makefile +++ b/Makefile @@ -12,15 +12,18 @@ provision: build: cd vhosts/t/albatross; make -f Makefile.prod build cd vhosts/t/albatross-swift; make -f Makefile.prod build + cd vhosts/t/albatross-php-2025; 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-swift; make -f Makefile.prod serve + cd vhosts/t/albatross-php-2025; make -f Makefile.prod serve .PHONY: clean clean: + cd vhosts/t/albatross-php-2025; 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 c7e0190..98067d4 100644 --- a/mioproxy.prod.hcl +++ b/mioproxy.prod.hcl @@ -38,4 +38,15 @@ server https { port = 8002 } } + + proxy albatross-php-2025 { + from { + host = "t.nil.ninja" + path = "/phperkaigi/2025/code-battle/" + } + to { + host = "127.0.0.1" + port = 8003 + } + } } diff --git a/vhosts/t/albatross-php-2025 b/vhosts/t/albatross-php-2025 new file mode 160000 index 0000000..7f4d16d --- /dev/null +++ b/vhosts/t/albatross-php-2025 @@ -0,0 +1 @@ +Subproject commit 7f4d16dca85263dcbc7b3bb29f5fc50f4371739d -- cgit v1.2.3-70-g09d2