mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
16 lines
251 B
Markdown
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`
|