gitea finished
This commit is contained in:
3
gitea/files/htaccess.jinja
Normal file
3
gitea/files/htaccess.jinja
Normal file
@@ -0,0 +1,3 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{SERVER_PORT} 80
|
||||
RewriteRule ^(.*)$ https://{{ pillar['gitea']['domain'] }}/$1 [R,L]
|
||||
6
gitea/files/vhost_include.jinja
Normal file
6
gitea/files/vhost_include.jinja
Normal 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
|
||||
Reference in New Issue
Block a user