add certbot, wip
parent
8610731ca6
commit
090db33fcf
@ -1,3 +1,3 @@
|
||||
# ---> Ansible
|
||||
*.retry
|
||||
vault_pass.txt
|
||||
.vault_password
|
||||
|
@ -0,0 +1,7 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66346339616339316665383163613863376439383934626434313163376634306435656437353165
|
||||
6263666165323933346232356234656137646466336466360a656639643838323563643235363933
|
||||
30333435366138343930636130373239663735303164636639633039326131343533343561393561
|
||||
3864653732636464320a396563643963393862353962323462616231393332633131633832336338
|
||||
36633138646430623563316538643534666230363638333732633432316533343263303766616561
|
||||
6431623436633030393133616166323434613464636631646338
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Reload nginx
|
||||
systemd:
|
||||
name: nginx
|
||||
state: reloaded
|
@ -0,0 +1,17 @@
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
# Pass the real client IP
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
# Tell proxified server that we are HTTPS, fix Wordpress
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
|
||||
# WebSocket support
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
Loading…
Reference in New Issue