Compare commits
No commits in common. "8633124883aafa81d52c497351b8e4aae99a399f" and "6966727117aceb399ade3b81cac6a1cc94bb58bf" have entirely different histories.
8633124883
...
6966727117
4 changed files with 5 additions and 9 deletions
|
|
@ -18,9 +18,9 @@ these are all very basic commands, captured in script form for convenience!)
|
|||
- `setup-plausible.yml`: Sets up the Plausible server itself, as a `systemd`
|
||||
service running Plausible's official Docker container.
|
||||
|
||||
You can run them individually, or all at once, with `ansible-playbook`:
|
||||
You can run them individually, or all at once, with `run.sh`:
|
||||
|
||||
ansible-playbook setup-all.yml
|
||||
run.sh setup-all.yml
|
||||
|
||||
If you're interested in setting up your own Plausible service, this could be
|
||||
useful as a starting point, there's not much custom here! Just a couple things
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
[defaults]
|
||||
inventory = inventory.cfg
|
||||
|
||||
[privilege_escalation]
|
||||
become_ask_pass = True
|
||||
1
run.sh
Executable file
1
run.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook -i inventory.cfg --ask-become-pass $@
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
content: |
|
||||
server {
|
||||
server_name analytics.openneo.net;
|
||||
listen [::]:80;
|
||||
listen 80;
|
||||
if ($host = analytics.openneo.net) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
server {
|
||||
server_name analytics.openneo.net;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/analytics.openneo.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/analytics.openneo.net/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue