how to use specific weburl for access to webadmininterface #1579
Unanswered
Metanormal
asked this question in
Q&A
Replies: 1 comment
-
Did you try setting the httpd binding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hej Ho *,
i got sftpGo very easily installed and can reach the webadmin interface via default: http://www.example.com:8080/web/admin/
Since i have multiple virtual domains running on the same server, i found out that http://www.otherdomain.com:8080/web/admin/ also works, what i did not want.
So now i want to restrict access for the webadmin interface to https-protocol, a specific domain and path and port:443, like:
https://www.example.com/sftpgo/
I found some configurations in the sftpgo.json and am quite sure, that this is the place to do it.
But what i have to enter at what places, i dont understand. I tried the following:
``
"httpd": {
"bindings": [
{
"port": 443,
"address": "www.example.com",
"enable_web_admin": true,
"enable_web_client": true,
"enable_rest_api": true,
"enabled_login_methods": 0,
"enable_https": true,
"certificate_file": "/etc/letsencrypt/live/www.example.com/fullchain.pem",
"certificate_key_file": "/etc/letsencrypt/live/www.example.com/privkey.pem",
"min_tls_version": 12,
"client_auth_type": 0,
"tls_cipher_suites": [],
"proxy_allowed": [],
Can you help me with the missing informations? Am i going in the right direction or is the whole idea wrong? Anything?
I did not find a documentation for the sftpgo.json file and its entries, maybe you have a link to it, if it exists?
I am using apache2 under ubuntu, achieving https with letsencrypt automation.
Thanx in advnace, i say 42, Martin
Beta Was this translation helpful? Give feedback.
All reactions