Separate out our proxy from our frontend
This commit is contained in:
parent
aed52c16a0
commit
d457ebf213
@ -25,6 +25,18 @@ SSLProxyEngine on
|
|||||||
AllowOverride All
|
AllowOverride All
|
||||||
Options MultiViews FollowSymlinks
|
Options MultiViews FollowSymlinks
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
RequestHeader set X_FORWARDED_PROTO 'https'
|
||||||
|
RequestHeader set X-Forwarded-Ssl on
|
||||||
|
</VirtualHost>
|
||||||
|
<VirtualHost *:8448>
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile /etc/pki/cert/crt/{{ gitea_url }}.crt
|
||||||
|
SSLCertificateKeyFile /etc/pki/cert/private/{{ gitea_url }}.key
|
||||||
|
SSLCertificateChainFile /etc/pki/cert/crt/{{ gitea_url }}-fullchain.crt
|
||||||
|
SSLProtocol {{ ssl_protocol }}
|
||||||
|
SSLCipherSuite {{ ssl_cipher_suite }}
|
||||||
|
ServerName {{ gitea_url }}
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
||||||
|
@ -19,6 +19,10 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- "matrix-synapse-py3"
|
- "matrix-synapse-py3"
|
||||||
|
- name: Set up MySQL
|
||||||
|
block:
|
||||||
|
- name: Create DB
|
||||||
|
|
||||||
- name: Set up Apache
|
- name: Set up Apache
|
||||||
block:
|
block:
|
||||||
- name: Enable modules
|
- name: Enable modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user