mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-09 20:16:40 +01:00
add calcurse config, radicale config, nginx config
This commit is contained in:
10
.calcurse/caldav/config
Normal file
10
.calcurse/caldav/config
Normal file
@@ -0,0 +1,10 @@
|
||||
[General]
|
||||
Binary = calcurse
|
||||
Hostname = sub.domain.com
|
||||
Path = /calendarname/path/
|
||||
SyncFilter = cal
|
||||
DryRun = No
|
||||
[Auth]
|
||||
AuthMethod = basic
|
||||
Username = username
|
||||
Password = password
|
||||
@@ -19,3 +19,8 @@ config files
|
||||
- Redshift `redshift.conf`
|
||||
- in `~/.conf/redshift.conf`
|
||||
- i3 config files `/i3` and `/i3status` directories go inside `~/.conf/` directory
|
||||
|
||||
|
||||
### server side
|
||||
- radicale `config`
|
||||
- in `~/.conf/radicale/config`
|
||||
|
||||
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`
|
||||
11
radicale-config
Normal file
11
radicale-config
Normal file
@@ -0,0 +1,11 @@
|
||||
[server]
|
||||
# Bind all addresses
|
||||
hosts = 127.0.0.1:PORT
|
||||
|
||||
[auth]
|
||||
type = htpasswd
|
||||
htpasswd_filename = /etc/apache2/.username
|
||||
htpasswd_encryption = bcrypt
|
||||
[storage]
|
||||
filesystem_folder = ~/.var/lib/radicale/collections
|
||||
|
||||
Reference in New Issue
Block a user