Jump to content
  • 0

Домен:порт сменить на домен


AlexeyZ

Question

Здравствуйте! Помогите пожалуйста разобраться! Keenetic Giga. 

Поставил у себя за NAT nextcloud (192.168.50.5) (апач, порты 80, 443, SSL сертификат).

Зарегистрировал домен.

sevices.xxx.ru

 

A
91.122.xxx.xxx
MX
10 mx1.yyy.com.
MX
20 mx2.yyy.com.
SRV
10 5 5001 services.xxx.ru.
TXT
v=spf1 redirect=yyy.com

Делаю прокси

{
    "proxy": {
        "services": {
            "fqdn": "services.xxx.ru",
            "proto": "https",
            "upstream": "192.168.50.5:5001",
            "host": "192.168.50.5",
            "allow": "public",
            "ndns": false
        }
    },
    "prompt": "(config)"
}

На кинетике также открыт порт 5001, с переадресацией на сервер services (192.168.50.5) на 443 порт.

И все работает. некстклауд доступен по https://services.xxx.ru:5001/

А можно ли сделать так, что бы он был доступен по  https://services.xxx.ru

Спасибо! 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Можно. Под веб-морду роутера сделайте другой порт, а  443 перебросьте на свой сервер

Edited by Urikadze
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...