This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
---
|
||||
- name: Create Pelican Caddyfile
|
||||
template:
|
||||
src: templates/pelican/Caddyfile
|
||||
dest: "{{ data_dir }}/pelican/Caddyfile"
|
||||
|
||||
- name: Deploy Pelican Panel
|
||||
include_role:
|
||||
name: docker
|
||||
|
||||
14
templates/pelican/Caddyfile
Normal file
14
templates/pelican/Caddyfile
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
admin off
|
||||
servers {
|
||||
trusted_proxies static private_ranges
|
||||
}
|
||||
}
|
||||
|
||||
:80 {
|
||||
root * /var/www/html/public
|
||||
encode gzip
|
||||
|
||||
php_fastcgi 127.0.0.1:9000
|
||||
file_server
|
||||
}
|
||||
Reference in New Issue
Block a user