Compare commits
3 commits
d5b4d8eb3b
...
8809125582
| Author | SHA1 | Date | |
|---|---|---|---|
| 8809125582 | |||
|
51bbdd42a2 |
|||
|
428b5c70bc |
3 changed files with 16 additions and 2 deletions
|
|
@ -7,9 +7,11 @@ certbot__certificate_domains:
|
|||
- "dooris.ccchh.net"
|
||||
certbot__new_cert_commands:
|
||||
- "systemctl reload nginx.service"
|
||||
certbot__http_01_port: 80
|
||||
|
||||
nginx__version_spec: ""
|
||||
nginx__deploy_redirect_conf: false
|
||||
nginx__configurations:
|
||||
- name: dooris.ccchh.net
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/z9/dooris/nginx/dooris.ccchh.net.conf') }}"
|
||||
- name: http_handler
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/z9/dooris/nginx/http_handler.conf') }}"
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ services:
|
|||
- pretalx_net
|
||||
|
||||
celery:
|
||||
image: docker.io/pretalx/standalone:v2025.2.2
|
||||
image: docker.io/pretalx/standalone:v2025.1.0
|
||||
command:
|
||||
- taskworker
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
12
resources/z9/dooris/nginx/http_handler.conf
Normal file
12
resources/z9/dooris/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