Skip to content
Snippets Groups Projects
Unverified Commit 1621e5d6 authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

nginxのサンプルにコメント追加 (#7113)

parent 6311474f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment