summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2021-01-23 19:57:43 +0900
committerGitHub <noreply@github.com>2021-01-23 19:57:43 +0900
commit1621e5d6fb25101e346779e96ed3dc7d1141df2c (patch)
treebf96c929cee80912c79a53b520faa38df73f31c4 /docs
parentUpdate ja-JP.yml (diff)
downloadsharkey-1621e5d6fb25101e346779e96ed3dc7d1141df2c.tar.gz
sharkey-1621e5d6fb25101e346779e96ed3dc7d1141df2c.tar.bz2
sharkey-1621e5d6fb25101e346779e96ed3dc7d1141df2c.zip
nginxのサンプルにコメント追加 (#7113)
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/misskey.nginx6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/examples/misskey.nginx b/docs/examples/misskey.nginx
index 6ed51f020c..b558fb023a 100644
--- a/docs/examples/misskey.nginx
+++ b/docs/examples/misskey.nginx
@@ -50,11 +50,13 @@ server {
location / {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
+ proxy_http_version 1.1;
+ proxy_redirect off;
+
+ # If it's behind another reverse proxy or CDN, remove the following.
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
- proxy_http_version 1.1;
- proxy_redirect off;
# For WebSocket
proxy_set_header Upgrade $http_upgrade;