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.

13 lines
413 B

  1. server {
  2. listen 80;
  3. server_name domain;
  4. location / {
  5. proxy_pass https://lxc_host;
  6. proxy_set_header Host $host;
  7. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  8. proxy_set_header X-Real-IP $remote_addr;
  9. }
  10. listen 443 ssl;
  11. ssl_certificate /etc/letsencrypt/tmp/domain/fullchain.pem;
  12. ssl_certificate_key /etc/letsencrypt/tmp/domain/privkey.pem;
  13. }