-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pcopy behind nginx proxyserver #81
Comments
It should be possible. I don't see why not. I'll give it a shot tonight |
|
Scratch that. It's just a little trickier. In this example, port 12345 is the external port and 2580 is the internal port. If you want to use SSL, you should terminate HTTPS/SSL in nginx on 12345 and forward HTTP (not HTTPS!) to pcopy. That's why pcopy is listening on HTTP (
|
Hi folks, looks like pcopy is a good self-hosted service for my needs. Is there a way to run it behind a nginx reverse proxy? Tried a basic conig, but it always says "bad gateway"
In my config file the server and port is set as followed
'''
ServerAddr pcopy.XXXX.de:443
ListenAddr :443/https
'''
On the nginx (another machine) I have a ssl certificate from letsencrypt.
XXX@pcopy:~$ pcopy join pcopy.XXXX.de:443 work
Joining clipboard at pcopy.XXXXX.de:443 ... failed.
Cannot connect to https://pcopy.XXXXX.de:443: Get "https://pcopy.XXXXX.de:443/info": dial tcp 127.0.1.1:443: connect: connection refused
Sometimes (don't know why) it asked me for a password. But the hashed password from the configfile does not work.
Any Ideas?
The text was updated successfully, but these errors were encountered: