Files
configs/nginx-conf/README.md
2019-09-22 13:21:20 +02:00

16 lines
251 B
Markdown

# nginx-config
In `/etc/nginx/sites-enabled`
- file: `sub.domain.com`:
```
server {
server_name sub.domain.com;
location / {
proxy_pass http://localhost:PORT;
}
}
```
Then generate certificate with `certbot`