nodes/aurto: add nginx, move aurto to dedicated user
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-01 16:55:51 +02:00
parent a6434bd8d0
commit f84e9c533f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1 @@
autoindex on;

View file

@ -5,6 +5,7 @@ nodes['aurto'] = {
}, },
'groups': { 'groups': {
'arch', 'arch',
'webserver',
}, },
'metadata': { 'metadata': {
'icinga_options': { 'icinga_options': {
@ -21,6 +22,16 @@ nodes['aurto'] = {
'gateway4': '172.19.138.1', 'gateway4': '172.19.138.1',
}, },
}, },
'nginx': {
'vhosts': {
'aurto': {
'domain': 'aurto.kunbox.net',
'webroot': '/var/cache/pacman/aurto',
'ssl': None, # TODO
'extras': True,
},
},
},
'sudo': { 'sudo': {
'extra_configs': { 'extra_configs': {
'50_aurto_passwordless': { '50_aurto_passwordless': {
@ -31,6 +42,16 @@ nodes['aurto'] = {
}, },
}, },
'users': { 'users': {
'aurto': {
'groups': {
'wheel',
},
'ssh_pubkey': {
# kunsi
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICYst1HK+gJYhNxzqJGnz4iB73pa89Xz2yH+8wufOcsA',
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+ja1z5VRQzaKCCePsUM14qMr9QR94qlWc7Je5Poki9UmC1t/TyxRVzcCBL1ZdIfBGx6QKtfkEbvhgb3nxVt3PvXjoJrc6wwGLmNrVsU6B88y35g7nzupQiPKYJwkNzJ9j6Dmkgj1F5Q+aY2SitDaX6vqICLJ4Al/ZFw2IQxVJfC7JXRJ9jRMG5o9gWoE3gWDYEAmw+HU2mNzyeuaD12qJw9DHUimAlgkOWzll3gh9WclsYnnXGrCCn5fyHFUCJl+XXAIy519z7YTpKih02rsIOw5dnaGClBZD/YQu2ZKVFZiwIVH7aBiqHOmtgRyWTQgjbh/fMpIN0ar2f/iZsWYUjd6et48TOmXZYIPCQ5FivXNvxt9oo1XZfq76UHBwlmypLJIWROMbz375n2M6hr3hECuxuPjKEUXAv05KiC1aJ4xc6pFoVhqwAR99hvHw5U4o7/ko2NVjNpTu6Jr5DT5VaQLIdDDjC/93kUjMpdD/8P72bEn7454+WexU6OE6uvNiHj1fetrptr2UAuzVfnCoaV8pBqY7X95gk+lnSENdpr8ltJYMg8s0Z7Pzz0OxsZtzzDY5VmWfC9TCdJkN5lT8IbnaixsYlWdjQl1lMmZGElmelfU3K7YQLAbZiHmHKe4hTl9ZoCcWdTQ3d4y2t1DBos+N2HZNdtFCyOS8esDdMw== cardno:000609506971',
},
},
'kunsi': { 'kunsi': {
'groups': { 'groups': {
'wheel', 'wheel',