gitea finished

This commit is contained in:
2019-04-10 22:41:46 -04:00
parent c913a704d9
commit 42784e1d5b
4 changed files with 52 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://{{ pillar['gitea']['domain'] }}/$1 [R,L]

View File

@@ -0,0 +1,6 @@
SecRuleEngine Off
ProxyRequests Off
ProxyFCGISetEnvIf "true" PATH_INFO "%{reqenv:SCRIPT_NAME}"
ProxyFCGISetEnvIf "true" !SCRIPT_NAME
ProxyPass /.well-known !
ProxyPass / "http://localhost:3000/" enablereuse=on