简体   繁体   English

使用 Linux Ubuntu 20.04 在内部服务器上路由

[英]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.

相关问题 sam local start-api go lambda 在 linux ubuntu 上返回 502“内部服务器错误” - sam local start-api go lambda returns 502 "internal server error" on linux ubuntu 构建失败(Ubuntu 20.04 使用 ruby-build 20210119) - BUILD FAILED (Ubuntu 20.04 using ruby-build 20210119) 如何修复 aws lightsail ubuntu 内部服务器错误? - how to fix aws lightsail ubuntu Internal Server Error? az 登录是否已在 Ubuntu 20.04 中停止工作? - Has az login stopped working in Ubuntu 20.04? 如何在 Ubuntu 20.04 GCP 实例上安装 virtualenv? - how to install virtualenv on Ubuntu 20.04 GCP instance? 使用 Python 在 Lambda 中查询 DynamoDB 时出现“内部服务器错误” - "Internal Server Error" when querying of DynamoDB in Lambda using Python 无法在 EC2 实例上安装 tensorflow Ubuntu 20.04 - failed to install tensorflow on a EC2 instance Ubuntu 20.04 在 ubuntu:20.04 上,运行 apt install python3-pip 失败了,有修复吗? - On ubuntu:20.04, running apt install python3-pip broke, is there a fix? 无法使用 Ubuntu 服务器 AWS 查看 Apache 测试页 - Can't View Apache Test Page Using Ubuntu Server AWS ansible 脚本“SHELL”与在 ubuntu 机器 20.04 EC2 上直接运行 Shell 命令的细微差别? - The subtle difference in an ansible script "SHELL" and the directly running Shell commands on an ubuntu machine 20.04 EC2?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM