morty.conf 378 B

123456789101112
  1. # https://example.org/morty
  2. location /morty {
  3. proxy_pass http://127.0.0.1:3000/;
  4. proxy_set_header Host \$host;
  5. proxy_set_header Connection \$http_connection;
  6. proxy_set_header X-Real-IP \$remote_addr;
  7. proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
  8. proxy_set_header X-Scheme \$scheme;
  9. }