add dooris role for setup of dooris interaction on the node itself
This commit is contained in:
parent
4c9d582ba6
commit
af1b1906b1
14 changed files with 157 additions and 49 deletions
12
roles/dooris/templates/nginx/http_handler.conf
Normal file
12
roles/dooris/templates/nginx/http_handler.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
proxy_pass http://127.0.0.1:31820/.well-known/acme-challenge/;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue