roles/gitea: Add HTTP -> HTTPS redirect
parent
d97dbaa189
commit
a7ebe3b2ae
|
@ -1,3 +1,12 @@
|
|||
# vim: set ft=apache :
|
||||
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} !on
|
||||
RewriteRule /.* https://%{SERVER_NAME}$0
|
||||
|
||||
Header always set \
|
||||
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
ProxyPass / http://localhost:3000/
|
||||
|
|
Loading…
Reference in New Issue