This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| joomla:reverseproxy [2026/05/19 23:04] – Bernard Condrau | joomla:reverseproxy [2026/05/19 23:13] (current) – Bernard Condrau | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ErrorLog ${APACHE_LOG_DIR}/ | ErrorLog ${APACHE_LOG_DIR}/ | ||
| CustomLog ${APACHE_LOG_DIR}/ | CustomLog ${APACHE_LOG_DIR}/ | ||
| - | RewriteEngine on | + | |
| - | RewriteCond %{SERVER_NAME} =demo.bethicoleague.org | + | RewriteCond %{SERVER_NAME} =demo.bethicoleague.org |
| - | RewriteRule ^ https:// | + | RewriteRule ^ https:// |
| </ | </ | ||
| Line 21: | Line 21: | ||
| SSLEngine on | SSLEngine on | ||
| RequestHeader set X-Forwarded-Proto " | RequestHeader set X-Forwarded-Proto " | ||
| - | # | ||
| - | # | ||
| ProxyRequests Off | ProxyRequests Off | ||
| ProxyPreserveHost On | ProxyPreserveHost On | ||
| Line 32: | Line 30: | ||
| </ | </ | ||
| < | < | ||
| - | #ProxyPass " | ||
| - | # | ||
| - | |||
| - | # Allow access for bco's locations only | ||
| - | #Include conf-available/ | ||
| - | |||
| - | # Allow access for private browsers only | ||
| - | # Include conf-available/ | ||
| # Block aggressive spiders by giving 429, too many requests | # Block aggressive spiders by giving 429, too many requests | ||
| Line 46: | Line 36: | ||
| < | < | ||
| - | ProxyPass " | ||
| - | ProxyPassReverse " | ||
| # Allow access for Bernard' | # Allow access for Bernard' | ||
| Include conf-available/ | Include conf-available/ | ||
| - | |||
| - | # Allow access for private browsers only | ||
| - | # Include conf-available/ | ||
| - | |||
| - | # Block aggressive spiders by giving 429, too many requests | ||
| - | Include conf-available/ | ||
| </ | </ | ||
| Line 72: | Line 54: | ||
| SSLCertificateFile / | SSLCertificateFile / | ||
| SSLCertificateKeyFile / | SSLCertificateKeyFile / | ||
| + | </ | ||
| + | </ | ||
| + | - VirtualHost on content server:< | ||
| + | < | ||
| + | |||
| + | ServerAdmin bernard@condrau.com | ||
| + | DocumentRoot / | ||
| + | Alias /html/ / | ||
| + | |||
| + | < | ||
| + | Options FollowSymlinks | ||
| + | AllowOverride All | ||
| + | Require all granted | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Require all granted | ||
| + | </ | ||
| + | |||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| </ | </ | ||
| </ | </ | ||
| - Set Joomla Live URL in ''/ | - Set Joomla Live URL in ''/ | ||