create radicale role

This commit is contained in:
vincent 2019-10-11 18:57:11 +02:00
parent 0680b96819
commit f09776dc5e
4 changed files with 56 additions and 29 deletions

View File

@ -1,28 +1,30 @@
$ANSIBLE_VAULT;1.1;AES256
36373932323731323261306130393236616639363063616661653562343033663365373235353732
3665333739623264646665663832346436616539666238300a346230633632646664346162333930
65613032346632626364336339646139393331646439383438353937323036653435316433396239
6266646263306466610a373263663063373761353865323138323336343564323437373863343836
33616533356436643262646139386661313130393762313530666162363162623631663464363532
39346235303662366632616164333266643866326236663336333261646633643761316461646562
33306236353038313734616436623330313937626433623665393063663530363435656134663263
62356465616265356439306139393430363738633061646466363431623735336461626165346636
31386438346538346330656265636663656134363664353432626565393935333366373738656139
64623133356161366135363335323235396138373736396235356437643131626263646435643839
61396662323731623765626265363230396533376532323763313838373834643833363130656232
36366439393736636433353862303262376432313162323237393061653139316437623235393065
64623334343266373663646633653539363936323338356562336464666330376435343338383831
62366361303232343965616461376339386663666663666135323236313836326338653739306264
35376630333565653865623037306137336636353562366563303264643564366430346430303561
61663564666662663132383433396439653266366637313737363131666236396431326365343162
66363061643761656364643166366437366164346430343639396261353065356430346464613566
34363165373039383762656533626363633261633334376230656464323131323135666330313738
39336339363332393862336638626236343237643039656334316664326565376264343262666439
34323566333339346563393261373730363935383731383666343933353137646235623132636265
39343733613063393131373161343961623239316533306430316262656234643963626139323933
66653338303163393639323663613561363436373333313530643433656639663531666662326361
36346663613532383861666330356366643263393564643363653366343066646639393463613165
31663163333563336662376331386564356661613261323138373562333764303037326465363164
39333461663362653833633731393164346437333964623230313463323464323461323030373532
34383337623263346433363438303334393262333836316234393339376332626164316339376239
666530303630336333303237343534616431
36393436653566306436363065303537636361316533303036323966316161343739666233333331
6562383739343862386462613861666536646337303863320a646366663664643434333263343935
35306233623866643530393863326532613063386662346530346133353439626636373666653065
6561346437346663630a366463393762343862636539363863366662326439323732366663656162
39306333396434343236323439636261636235373836356165313938306366613335343634653065
66623162663334646332666537323032656562643961303665383531373565656665326533343266
61383536353038393631643837316366383136346231333336663135323764613937653333333330
65313331303366373239623561663932323266646236383739346235383938356665313461616131
36336338303530323736313537303938356137383434323030336237656635376433653633323237
32646162613731383166653930363835643162306362646335643233303461376235643933636634
39353233643836396534663364316539386130386166663134633033643861356338336165363031
33303534333763363437646433336665373362326530623730316664376230616333653139646336
37666531336362373861376135366463323134643561346163643137613038663235636134356363
37623037656630343739333734366361313634313832343732633564356161306134646664316134
31373066306230323130613536356265396439313733376437316361393864393265666332633535
34373861616565353762366663333833346334356535336365613632656461396566323363326537
66613438663539313163306166323734366333306533346463633031376237326264613565613766
65383537313461613664343961616432313037346531333261323331663131373034323935373566
63363633633562653533326138633462633238353264323361386133316234666638383831663433
61623635636432653031373036383664393630306332386563353632373430623530336166613163
33346661353634396532353266303162326331393534336131316537366335643637613532393631
34303130356431393163636363383233356235623666623165373730633436346162343137623438
66373730653636356663366162363133303961613165343735326563636363306533386434646133
65383063396166343066383332616132353732343765323964666634633533373530643230373939
62366363356433336365343264393730653265633531326563303166393638383731313163373261
37313531643337313333336432636438393932613363393831663163646333666536653166383739
31633362636635336430336463643564626563333964313830643833396630363262666162356665
38383433323661396331663763623563636137633034643065623032383466633535343937383965
3965

View File

@ -124,7 +124,10 @@ nginx_vhosts:
location = /50x.html {
root /usr/share/nginx/html;
}
location / {
location / {
rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
index index.php index.html index.htm ;
default_type text/html;
@ -132,6 +135,15 @@ nginx_vhosts:
location =/ {
rewrite ^ /starter;
}
location /radicale/
{
# The trailing / is important!
proxy_pass http://localhost:5232/; # The / is important!
proxy_set_header X-Script-Name /radicale;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Authorization;
}
location ~ \.php$ {
# try_files $uri =404;

View File

@ -18,14 +18,26 @@ nginx_vhosts:
location = /50x.html {
root /usr/share/nginx/html;
}
location / {
location / {
rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
index index.php index.html index.htm ;
default_type text/html;
}
location =/ {
rewrite ^ /starter;
}
location /radicale/
{
# The trailing / is important!
proxy_pass http://localhost:5232/; # The / is important!
proxy_set_header X-Script-Name /radicale;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Authorization;
}
location ~ \.php$ {
# try_files $uri =404;

View File

@ -19,6 +19,7 @@
- {role: nginx, become: yes }
- {role: ansible-role-certbot, become: yes} ##need to have a external connection on 80
- {role: mariadb, become: yes }
- {role: radicale , become: yes }
- cloud-commander
- php
- tt-rss