Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
502 B

  1. server {
  2. server_name {{ server_name }};
  3. location / {
  4. client_max_body_size 50M;
  5. proxy_set_header Upgrade $http_upgrade;
  6. proxy_set_header Connection "upgrade";
  7. proxy_set_header Host $http_host;
  8. proxy_set_header X-Real-IP $remote_addr;
  9. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  10. proxy_set_header X-Forwarded-Proto $scheme;
  11. proxy_set_header X-Frame-Options SAMEORIGIN;
  12. proxy_pass {{ remote_host }};
  13. }
  14. }