mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
add calcurse config, radicale config, nginx config
This commit is contained in:
19
nginx-conf/README.md
Normal file
19
nginx-conf/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# nginx-config
|
||||
|
||||
In `/etc/nginx/sites-enabled`
|
||||
|
||||
- file: `sub.domain.com`:
|
||||
```
|
||||
server {
|
||||
server_name sub.domain.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:PORT;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
```
|
||||
Then generate certificate with `certbot`
|
||||
Reference in New Issue
Block a user