Fix trailing slash

Returns 404 when using exact match without slash
This commit is contained in:
nisbet-hubbard 2024-11-09 20:13:52 +08:00 committed by GitHub
parent 9726a96875
commit 8dfa3357c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ server {
add_header Cross-Origin-Embedder-Policy require-corp;
}
location = /extensions.js {
location = /extensions.js/ {
proxy_pass http://localhost:3000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;