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
251 B

  1. # nginx-config
  2. In `/etc/nginx/sites-enabled`
  3. - file: `sub.domain.com`:
  4. ```
  5. server {
  6. server_name sub.domain.com;
  7. location / {
  8. proxy_pass http://localhost:PORT;
  9. }
  10. }
  11. ```
  12. Then generate certificate with `certbot`