From 83e34a6dd417617ff51d0a94ef1267656e5d105f Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 9 Feb 2022 14:26:41 +0100 Subject: [PATCH] Make /@ URL pass to "web" + redirect to /u/username if activity+json --- nginx.conf | 2 +- web/src/index.php | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3e2788a..a8e3685 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,7 +4,7 @@ server { server_name _; # Web client - location ~ ^(/$|/web) { + location ~ ^(/$|/@|/web) { proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/web/src/index.php b/web/src/index.php index 93f9caa..26b460d 100644 --- a/web/src/index.php +++ b/web/src/index.php @@ -1,3 +1,11 @@