Comments (7)
This is the Apache config that I use:
<VirtualHost *:443>
ServerName server.example.com
Header always set Strict-Transport-Security "max-age=15811200 includeSubdomains;"
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLHonorCipherOrder on
Header set Strict-Transport-Security "max-age=31536000"
ProxyPreserveHost on
ProxyPass /ws ws://127.0.0.1:8443/ws
ProxyPassReverse /ws ws://127.0.0.1:8443/ws
ProxyPass / http://127.0.0.1:8443/
ProxyPassReverse / http://127.0.0.1:8443/
</VirtualHost>
from galene.
Right. Our strategy of guessing the right URL from the request doesn't work if we're behind a reverse proxy.
Please upgrade to the latest master (16e2888) and create a file data/config.json
with the following contents:
{
"proxyURL": "https://proxy.example.org/"
}
where proxy.example.org
is the address of your proxy. This should also work if you don't specify ProxyPreserveHost
in your Apache conf.
Please confirm that this works for you, and please reopen the issue if it doesn't. Thanks for your help.
from galene.
Hi,
Thanks; that fixed it. However, at first it would not compile. I received an error stating that the URL class did not have a JoinPath method. I upgraded from Go 1.17 to Go 1.19 and that must have pulled in a newer version of net/url because everything was fine after that.
Thanks for the quick fix.
Regards,
Dianne.
from galene.
Thanks. Let me fix that.
from galene.
Hopefully fixed in 10c57c7. Please test.
from galene.
Unfortunately, I uninstalled Go 1.17 when I upgraded to 1.19, so I can't test against that version of Go. It does work fine with 1.19.
Regards,
Dianne.
from galene.
That's good enough, thanks.
from galene.
Related Issues (20)
- Browser refuse to connect to WebSocket when using insecure Galene behind a reverse proxy HOT 2
- No entry in the Free Software Directory yet HOT 1
- Odd spacing glitch on Microsoft edge on Manjaro Linux HOT 2
- Local recording using getDisplayMedia and getUserMedia HOT 4
- Virtual background or background blur HOT 10
- When using any filter and trying to logout we get an error "Uncaught TypeError: c.sc is null" HOT 1
- Activity detection is does not working HOT 4
- multi language HOT 7
- Ldap integration HOT 1
- Bcrypt Encryption HOT 1
- TypeError: navigator.mediaDevices is undefined HOT 3
- Websocket upgrade: websocket: request origin not allowed by Upgrader.CheckOrigin HOT 4
- Failed to ping without candidate pairs. Connection is not possible yet. HOT 1
- Allow exposing Galene on a specific path (host.com/some/path/galene) on a reverse proxy. HOT 1
- Question: Can I set the timing for removal of messages? HOT 2
- browser to remember username and password HOT 1
- any api available? HOT 6
- Websocket connection fails on Firefox HOT 3
- installing instructions not clear at all HOT 3
- display connection time in the UI HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galene.