Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/VPS_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ sudo nano /etc/nginx/shift2.conf

```nginx
location /shift2/ {
# パスをリライト(/shift2/xxx を /xxx に変換
rewrite ^/shift2/(.*)$ /$1 break;

proxy_pass http://localhost:4050;
# /shift2/xxx を /xxx に変換して転送(proxy_pass 末尾の / で prefix を除去
# ※ rewrite ^/shift2/(.*)$ /$1 break; は nginx 1.24.0-2ubuntu7.16 の
# 回帰バグ (USN-8563-4) で上流 URI が壊れたため使用しない
proxy_pass http://localhost:4050/;
proxy_http_version 1.1;

# WebSocketサポート
Expand Down
Loading