Fix SSL configuration
Still have to work on that redirect
This commit is contained in:
parent
0f49adf860
commit
262767149a
17
site.yml
17
site.yml
@ -87,15 +87,30 @@
|
||||
- proxy_http.load
|
||||
- rewrite.load
|
||||
apache_vhosts:
|
||||
- servername: web1.desu.ltd
|
||||
serveralias: "*"
|
||||
extra_parameters: |
|
||||
RewriteEngine On
|
||||
RewriteRule "^http\:" "^https:" [R=302,L]
|
||||
apache_vhosts_ssl:
|
||||
- servername: git.test.desu.ltd
|
||||
extra_parameters: |
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
||||
certificate_file: /etc/letsencrypt/live/desu.ltd/fullchain.pem
|
||||
certificate_key_file: /etc/letsencrypt/live/desu.ltd/privkey.pem
|
||||
certificate_chain_file: /etc/letsencrypt/live/desu.ltd/chain.pem
|
||||
- servername: nc.test.desu.ltd
|
||||
documentroot: /var/www/html/nextcloud
|
||||
- servername: test.desu.ltd
|
||||
certificate_file: /etc/letsencrypt/live/desu.ltd/fullchain.pem
|
||||
certificate_key_file: /etc/letsencrypt/live/desu.ltd/privkey.pem
|
||||
certificate_chain_file: /etc/letsencrypt/live/desu.ltd/chain.pem
|
||||
- servername: desu.ltd
|
||||
documentroot: /var/www/html/desu.ltd
|
||||
certificate_file: /etc/letsencrypt/live/desu.ltd/fullchain.pem
|
||||
certificate_key_file: /etc/letsencrypt/live/desu.ltd/privkey.pem
|
||||
certificate_chain_file: /etc/letsencrypt/live/desu.ltd/chain.pem
|
||||
become: yes
|
||||
tags: [ web, apache ]
|
||||
- role: certbot
|
||||
|
Loading…
Reference in New Issue
Block a user