Fix accidentally breaking gitea lmao
This commit is contained in:
parent
124997992e
commit
56057012b5
@ -25,18 +25,6 @@ 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
|
||||||
|
@ -25,6 +25,17 @@ 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/{{ matrix_url }}.crt
|
||||||
|
SSLCertificateKeyFile /etc/pki/cert/private/{{ matrix_url }}.key
|
||||||
|
SSLCertificateChainFile /etc/pki/cert/crt/{{ matrix_url }}-fullchain.crt
|
||||||
|
SSLProtocol {{ ssl_protocol }}
|
||||||
|
SSLCipherSuite {{ ssl_cipher_suite }}
|
||||||
|
ServerName {{ matrix_url }}
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyPass / http://127.0.0.1:8008/ nocanon retry=1
|
ProxyPass / http://127.0.0.1:8008/ nocanon retry=1
|
||||||
|
Loading…
Reference in New Issue
Block a user