Updated tex files with latest information about the program
This commit is contained in:
1 parent
f0716b0073
commit
0f8db48407
91 files changed
+489
-822
No files matched your search
@@ -1,10 +1,11 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : ApacheAppendix.tex
|
||||
% SUBJECT : ApacheApendex.
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\chapter{Apache Configuration}
|
||||
\label{sample-httpd.conf}
|
||||
\lstinputlisting[caption=httpd.conf]{figures/httpd.conf}
|
||||
For Apache HTTP Server 2.4.47 or newer, \command{mod\_proxy\_http} can forward WebSocket upgrades. Enable \command{mod\_proxy}, \command{mod\_proxy\_http}, \command{mod\_headers}, and the TLS modules. Place these directives in your HTTPS virtual host, with your hostname and certificates configured separately:
|
||||
\begin{lstlisting}[caption={Apache forwarding directives}]
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
RequestHeader set X-Forwarded-Proto "https"
|
||||
ProxyPass /portal/ http://127.0.0.1:8080/portal/ upgrade=websocket
|
||||
ProxyPassReverse /portal/ http://127.0.0.1:8080/portal/
|
||||
\end{lstlisting}
|
||||
Redirect the HTTP site to HTTPS. Match proxy request limits and timeouts to the application. Consult \url{https://httpd.apache.org/docs/2.4/mod/mod_proxy_http.html} for the installed Apache version's upgrade handling.
|
||||
Reference in new issue
Block a user