[英]Routing on internal Server using Linux Ubuntu 20.04
I'm fairly new to Linux servers and networking and I'm trying to setup a server for my own GitLab and to host a node.js Backend und a React.js Frontend.我对 Linux 服务器和网络还很陌生,我正在尝试为我自己的 GitLab 设置服务器并托管 node.js 后端和反应。
I did set up a Linux server using Ubuntu 20.04 and installed Gitlab there.我确实使用 Ubuntu 20.04 设置了 Linux 服务器,并在那里安装了 Gitlab。
I can access my Gitlab with my internal IP, that works fine.我可以用我的内部 IP 访问我的 Gitlab,效果很好。 What I'm trying to achieve is routing on this server so that I can run several applications.
我想要实现的是在此服务器上进行路由,以便我可以运行多个应用程序。
I'm trying to reach my git for example with "myipaddress/git", my backend with "myipaddress/api" and so on but I can't find anything that helps, maybe I just don't have proper keywords for a good old google search.我正在尝试使用“myipaddress/git”访问我的 git,我的后端使用“myipaddress/api”等等,但我找不到任何有用的东西,也许我只是没有合适的关键字旧的谷歌搜索。 Does anyone have an idea where I can start?
有谁知道我可以从哪里开始?
Probably it's not a routing problem because you are able to access your "myipaddress/git"!可能这不是路由问题,因为您可以访问“myipaddress/git”!
Due to GitLab Doc ( https://docs.gitlab.com/ee/api/#how-to-use-the-api ) the tried URL "myipaddress/api" is not valid. Due to GitLab Doc ( https://docs.gitlab.com/ee/api/#how-to-use-the-api ) the tried URL "myipaddress/api" is not valid. Use "myipaddress/api/v4/projects" instead in case of non authenticated requests.
如果请求未经过身份验证,请改用“myipaddress/api/v4/projects”。
To authenticated requests you'll need an OAuth2 tokens.要经过身份验证的请求,您需要一个 OAuth2 令牌。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.