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/README.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,13 +94,15 @@ <h3>Env Variables<a class="headerlink" href="#env-variables" title="Permalink to
94
94
<li><p><strong>VIDEO_PORT</strong>: Port number to host the application. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">8000</span></code></p></li>
95
95
<li><p><strong>FILE_FORMATS</strong>: Sequence of supported video file formats. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">(.mp4,</span><spanclass="pre">.mov)</span></code></p></li>
96
96
<li><p><strong>WORKERS</strong>: Number of workers to spin up the <codeclass="docutils literal notranslate"><spanclass="pre">uvicorn</span></code> server. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">1</span></code></p></li>
97
-
<li><p><strong>WEBSITE</strong>: List of websites (<em>supports regex</em>) to add to CORS configuration. <em>Required only if tunneled via CDN</em></p></li>
97
+
<li><p><strong>WEBSITES</strong>: List of websites (<em>supports regex</em>) to add to CORS configuration. <em>Required only if tunneled via CDN</em></p></li>
98
98
<li><p><strong>AUTO_THUMBNAIL</strong>: Boolean flag to auto generate thumbnail images for preview. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code></p></li>
99
99
<li><p><strong>KEY_FILE</strong>: Path to the private key file for SSL certificate. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code></p></li>
100
100
<li><p><strong>CERT_FILE</strong>: Path to the full chain file for SSL certificate. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code></p></li>
101
+
<li><p><strong>SECURE_SESSION</strong>: Boolean flag to secure the cookie <codeclass="docutils literal notranslate"><spanclass="pre">session_token</span></code>. Defaults to <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code></p></li>
101
102
</ul>
102
103
<blockquote>
103
-
<div><p>:bulb: <codeclass="docutils literal notranslate"><spanclass="pre">KEY_FILE</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">CERT_FILE</span></code> becomes mandatory when <codeclass="docutils literal notranslate"><spanclass="pre">VIDEO_PORT</span></code> is set to <codeclass="docutils literal notranslate"><spanclass="pre">443</span></code></p>
104
+
<div><p>:bulb: If <codeclass="docutils literal notranslate"><spanclass="pre">SECURE_SESSION</span></code> to set to <codeclass="docutils literal notranslate"><spanclass="pre">true</span></code>, the cookie <codeclass="docutils literal notranslate"><spanclass="pre">session_token</span></code> will only be sent via HTTPS<br>
105
+
This means that the server can <strong>ONLY</strong> be hosted via <codeclass="docutils literal notranslate"><spanclass="pre">HTTPS</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">localhost</span></code></p>
0 commit comments