kopia lustrzana https://github.com/magicbug/Cloudlog
Strona:
Installing behind a reverse proxy
Strony
ADIF Import Export
ADIF file can't be imported
API
Analytics
Authentication
Awards
Backup
Building a Docker image from scratch
CQ
Callsign Lookup
Change Log
Cloudlog.php Configuration File
Clublog Upload
Configuration
Contesting
DOK
DXCC
DXCluster
Dashboard
Debug
Development Section Style Guide
Development Notes
Executing the full standalone Cloudlog stack
Global Options
HRDLOG.net
Hints & Tips
Home
How to restore Cloudlog from an SQL dump?
IOTA
Installation on Windows Server (WAMP)
Installation on a FreeBSD Server
Installation on a Raspberry Pi using Diet Pi Distro
Installation on an OpenBSD Server
Installation
Installing behind a reverse proxy
KML Files
Keyboard Shortcuts
Label Printing
LoTW Import & Export Documentation
LoTW Synchronisation
Logbook
Logging
Notes
OQRS (Online Qsl Request System)
Password Reset
Print Requested QSLs
QRB Calculator (V2 only)
QRZ Logbook Synchronisation
QSO Modes
QSO details
Quick Lookup
Radio Interface
Random Notes
Raspberry Pi Image Information
Recommended Cron Jobs
Remote Interfaces
SOTA CSV Export
SOTA
Search Filter
Search
Setup Club Log Integration
Station Profiles
Statistics
Theme Issues
Themes
Third Party Tools
Update Country Files
Updating
Use a prebuilt image from Docker Hub
VUCC
Version Info
WAB
WAS (Worked All States)
WAS
WSJT X Integration
Why does my Cloudlog install show Developer Mode?
Winkey
eQSL
error Table 'cloudlog.options' doesn't exist
2
Installing behind a reverse proxy
Steven Dodd edytuje tę stronę 2024-01-31 12:44:38 +00:00
Apache https Reverse Proxy
The following example shows you how to configure an apache reverse proxy. This is useful in the case that you're hosting with a single external domain name and you wish to provide external access to Cloudlog along with other services.
The example configuration below exposes the external URL https://<external domain>/cloudlog
which then proxies to http://<cloudlog server ip address>
Note: In this case the external server is https while the internal cloudlog server is http; It is also rewriting the /cloudlog folder as most Cloudlog instances will be installed in the default /var/www/html folder. Modify as required.
application/config/config.php
// Modify in the provided section for base_url config.php
if ($_SERVER['REMOTE_ADDR'] == '<proxy ip address>') {
$config['base_url'] = 'https://<external domain>/cloudlog/';
} else {
$config['base_url'] = 'http://<cloudlog server ip address>';
}
// Modify in the provided section at the end of config.php
$config['proxy_ips'] = '<proxy ip address>';
Apache2 proxy virtualhost
ProxyPreserveHost Off
ProxySourceAddress <proxy ip address>
RequestHeader set X-Forwarded-Proto "https" early
RequestHeader set X-Forwarded-Host "<external domain>" early
ProxyPass /cloudlog http://<cloudlog server ip address>
ProxyPassReverse /cloudlog http://<cloudlog server ip address>
ProxyPassReverseCookieDomain "<cloudlog server ip address>" "<external domain>"
ProxyPassReverseCookiePath "/" "/cloudlog/"
Contents
Installation
- Installation on Linux server
- Installation on Windows server
- Updating Cloudlog
- Hints & Tips
- cloudlog.php Config
Usage
Administration
User Options
- API
- Station Profiles
- Radio Interface
- ADIF Import / Export
- Logbook of The World
- eQSL
- Print Requested QSLs
- Clublog Upload
- QRZ Logbook
- KML Export
Logbook / Callbook Integrations
- Callbook (HamQTH, QRZ) Integration
- Club Log Integration
- QRZ Logbook
- WSJT X Integration
- Third Party Tools