Skip to content
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

Here is an example that you can put in conf.d/ : #149

Open
je-sketch opened this issue Nov 17, 2019 · 1 comment
Open

Here is an example that you can put in conf.d/ : #149

je-sketch opened this issue Nov 17, 2019 · 1 comment
Assignees

Comments

@je-sketch
Copy link

Here is an example that you can put in conf.d/ :

LoadModule mod_proxy.c
ProxyEngine On
ProxyTables /dev/shm/proftpd_mod_proxy
ProxyLog /var/log/proftpd/proxy.log
#TraceLog /var/log/proftpd/trace.log
#Trace proxy:20 proxy.ftp.conn:20 proxy.ftp.ctrl:20 proxy.ftp.data:20 proxy.ftp.msg:20 proxy.ftp.xfer:20
SQLNamedQuery getBackend SELECT "CONCAT('ftp://', server_hostname) FROM ftp_account WHERE ftp_user = '%{0}'"
ProxyRole reverse
ProxyReverseConnectPolicy PerUser
ProxyReverseServers sql:/getBackend
#ProxyTLSEngine off
#ProxyTLSVerifyServer off
#ProxyTimeoutConnect 4sec
#ProxyTLSTimeoutHandshake 5sec
#ProxySourceAddress 19.40.42.11

Originally posted by @jb-boin in #135 (comment)

@Castaglia Castaglia self-assigned this Nov 24, 2019
@Castaglia
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants