You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/usage/https-support.md
+2
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ KEY_FILE = key.pem
40
40
Note that if your certificate is signed by a third party certificate authority (i.e. not self-signed), then cert.pem should contain the certificate chain. The server certificate must be the first entry in cert.pem, followed by the intermediaries in order (if any). The root certificate does not have to be included because the connecting client must already have it in order to estalbish the trust relationship.
41
41
To learn more about the config values, please checkout the [Config Cheat Sheet](../config-cheat-sheet#server-server).
42
42
43
+
For the `CERT_FILE` or `KEY_FILE` field, the file path is relative to the `GITEA_CUSTOM` environment variable when it is a relative path. It can be an absolute path as well.
44
+
43
45
### Setting up HTTP redirection
44
46
45
47
The Gitea server is only able to listen to one port; to redirect HTTP requests to the HTTPS port, you will need to enable the HTTP redirection service:
0 commit comments